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

Returns a matrix that contains only the specified columns of the current matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Matrix<T> GetColumns(
	int startColumn,
	int endColumn
)

Parameters

startColumn  Int32
The zero-based index of the first column to return.
endColumn  Int32
The zero-based index of the last column to return.

Return Value

Matrix<T>
A matrix containing column startColumn to endColumn of this matrix.

Exceptions

ArgumentOutOfRangeException

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

See Also