Matrix<T>.Item(Vector<Boolean>, Int 32) Property
Gets or sets the elements of a column of this matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Vector<T> this[
Vector<bool> mask,
int column
] { get; set; }
Parameters
- mask Vector<Boolean>
- A boolean vector that specifies the elements to select.
- column Int32
- The zero-based index of the column.
Property Value
Vector<T>A vector.
Remarks
This property allows you to directly retrieve or set the elements of a column of this matrix.
Getting the value of this property returns a vector that points to the specified elements of this instance. Setting the value of this property sets the specified elements to the values in the vector that is provided.
Exceptions
Argument | value is null |
Dimension | The length of value does not equal the number of true elements of mask. |