AnyRectangularMatrixColumn Method

Gets the specified column.

Definition

Namespace: Meta.Numerics.Matrices
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public virtual ColumnVector Column(
	int c
)

Parameters

c  Int32
The (zero-based) column index.

Return Value

ColumnVector
The specified column.

Remarks

The returned vector is not independent of the original matrix. (If an entry of the original matrix is changed, the corresponding entry of the column vector will change.) This behavior is faster and requires less memory for common, read-only scenarios. If you want an independent copy of the column, simply call Copy to obtain one.

See Also