Matrix<T>.Get Submatrix(Range, Range) Method
Returns a sub-matrix of
this instance.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A Matrix<T> that contains the specified rows and columns.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Matrix<T> GetSubmatrix(
Range rowRange,
Range columnRange
)
Parameters
- rowRange Range
- A Range value that specifies the range of rows that are to make up the new matrix.
- columnRange Range
- A Range value that specifies the range of columns that are to make up the new matrix.
Return Value
Matrix<T>A Matrix<T> that contains the specified rows and columns.
Remarks
The matrix returned by this method shares its storage with the matrix from which it is derived.