Returns a new matrix that contains only the rows
in the specified sequence.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Matrix<T> GetNearestRows<R>(
IEnumerable<R> keys,
Direction direction
)
Public Function GetNearestRows(Of R) (
keys As IEnumerable(Of R),
direction As Direction
) As Matrix(Of T)
public:
generic<typename R>
Matrix<T>^ GetNearestRows(
IEnumerable<R>^ keys,
Direction direction
)
member GetNearestRows :
keys : IEnumerable<'R> *
direction : Direction -> Matrix<'T>
Parameters
- keys
- Type: System.Collections.GenericIEnumerableR
A sequence of keys of the rows to return. - direction
- Type: Extreme.DataAnalysisDirection
The direction to look for the key if an exact match is not found.
Type Parameters
- R
Return Value
Type:
MatrixTA new matrix containing only the rows
whose key is in
keys.
Reference