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> GetRows<R>(
IEnumerable<R> keys
)
Public Function GetRows(Of R) (
keys As IEnumerable(Of R)
) As Matrix(Of T)
public:
generic<typename R>
Matrix<T>^ GetRows(
IEnumerable<R>^ keys
)
member GetRows :
keys : IEnumerable<'R> -> Matrix<'T>
Parameters
- keys
- Type: System.Collections.GenericIEnumerableR
A sequence of keys of the rows to return.
Type Parameters
- R
Return Value
Type:
MatrixTA new matrix containing only the rows
whose key is in
keys.
Reference