Returns a matrix that contains only the specified columns
of the current matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Matrix<T> GetColumns(
int startColumn,
int endColumn
)
Public Function GetColumns (
startColumn As Integer,
endColumn As Integer
) As Matrix(Of T)
public:
Matrix<T>^ GetColumns(
int startColumn,
int endColumn
)
member GetColumns :
startColumn : int *
endColumn : int -> Matrix<'T>
Parameters
- startColumn
- Type: SystemInt32
The zero-based index of
the first column to return. - endColumn
- Type: SystemInt32
The zero-based index of
the last column to return.
Return Value
Type:
MatrixTA matrix containing column
startColumn
to
endColumn of this matrix.
Exception | Condition |
---|
ArgumentOutOfRangeException | startColumn or endColumn
is less than zero or greater than the number of columns of the matrix. |
Reference