Matrix<T>.Item(Index, Range) Property
Gets or sets the elements of a row 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[
Index row,
Range columnRange
] { get; set; }
Parameters
- row Index
- The zero-based index of the row.
- columnRange Range
- A Range value that specifies the range of elements in the row.
Property Value
Vector<T>A vector.
Remarks
This property allows you to directly retrieve or set the elements of a row of this instance.
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 the range specified by columnRange does not equal the length of value. |