Matrix<T>.GetRow(Int32, Int32, Int32, Int32, Intent) 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,
	int startColumn,
	int endColumn,
	int columnStride,
	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.
columnStride  Int32
The increment for the index in the row Vector<T> corresponding to an increment of one in the new 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