ColumnCollection<T>.Item Property

Gets or sets the components of the specified column in this ColumnCollection<T>.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public Vector<T> this[
	int index
] { get; set; }

Parameters

index  Int32
The zero-based index of the column.

Property Value

Vector<T>
A Vector<T>.

Remarks

The specific type of Vector<T> returned depends on the matrix whose Columns collection this instance represents.

Setting this value sets the components of the specified column equal to the components of the value vector.

Exceptions

ArgumentOutOfRangeException

index is less than zero or greater than the number of columns in the matrix.

ArgumentNullException

value is null.

See Also