Matrix<T>.GetColumn(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
)

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.

Return Value

Vector<T>
A row 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