Column Collection<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.1.5
C#
A Vector<T>.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
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>.
Implements
IReadOnlyList<T>.Item[Int32]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
| Argument | index is less than zero or greater than the number of columns in the matrix. |
| Argument | value is null. |