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

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

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Vector<T> GetColumn(
	int column,
	int startRow,
	int endRow,
	int rowStride
)

Parameters

column  Int32
The zero-based index of the column.
startRow  Int32
The zero-based index of the row containing the first element in the column vector.
endRow  Int32
The row index of the last element in the column vector.
rowStride  Int32
The increment for the index in the column Vector<T> corresponding to an increment of one in the new vector.

Return Value

Vector<T>
A column Vector<T>.

Exceptions

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

-or-

startRow is less than zero or greater than or equal to the number of rows.

-or-

endRow or endRow is less than zero or greater than or equal to the number of rows.

See Also