Returns a new matrix that contains only the rows
in the specified sequence.
Namespace: Extreme.Mathematics.GenericAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
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.CollectionsDirection
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.
Numerical Libraries
Supported in: 5.x
Reference