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

Returns a row vector for this instance over the specified range.

Definition

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

Parameters

row  Int32
The zero-based index of the row.
startColumn  Int32
The zero-based index of the column containing the first element in the row vector.
endColumn  Int32
The column index of the last element in the row vector.
intent  Intent
An Intent value that specifies the intended use of 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-

startColumn is less than zero or greater than or equal to the number of columns.

-or-

startColumn or endColumn is less than zero or greater than or equal to the number of columns.

See Also