Matrix<T>.Item(Int 32, IEnumerable<Int 32>) Property
Gets or sets the elements of a row with the specified indexes.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A Vector<T> containing a sequence of elements of the row with index row of this instance whose index is the corresponding value in columnIndexes.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Vector<T> this[
int row,
IEnumerable<int> columnIndexes
] { get; set; }
Parameters
- row Int32
- The zero-based index of the row.
- columnIndexes IEnumerable<Int32>
- A sequence of integers.
Return Value
Vector<T>A Vector<T> containing a sequence of elements of the row with index row of this instance whose index is the corresponding value in columnIndexes.
Exceptions
Argument | columnIndexes is null. |
Argument | row is less than zero or greater than or equal to the number of rows in the matrix. |
Dimension | The length of value does not equal the number of elements in columnIndexes. |