Matrix<T>.Item(Int32, IEnumerable<Int32>) 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#
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

ArgumentNullExceptioncolumnIndexes is null.
ArgumentOutOfRangeExceptionrow is less than zero or greater than or equal to the number of rows in the matrix.
DimensionMismatchExceptionThe length of value does not equal the number of elements in columnIndexes.

See Also