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