Matrix<T>.Get Columns(Int 32, Int 32) 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#
A matrix containing column startColumn to endColumn of this matrix.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
Argument | startColumn or endColumn is less than zero or greater than the number of columns of the matrix. |