Matrix<T>.GetRows(Int32, Int32) Method

Returns a matrix that contains only the specified rows of the current matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Matrix<T> GetRows(
	int startRow,
	int endRow
)

Parameters

startRow  Int32
The zero-based index of the first row to return.
endRow  Int32
The zero-based index of the last row to return.

Return Value

Matrix<T>
A matrix containing row startRow to endRow of this matrix.

Exceptions

ArgumentOutOfRangeException

startRow or endRow is less than zero or greater than the number of rows of the matrix.

See Also