Matrix<T>.GetRow(Int32, Range) Method

Returns a row vector for this instance starting at the specified row and column and of the specified length.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Vector<T> GetRow(
	int row,
	Range columnRange
)

Parameters

row  Int32
The zero-based index of the row.
columnRange  Range
The zero-based index of the column containing the first element in the row vector.

Return Value

Vector<T>
A row Vector<T>.

Exceptions

ArgumentOutOfRangeExceptionrow is less than zero or greater than or equal to the number of rows
- or -
The Range specified by columnRange is outside the bounds of the matrix.

See Also