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

ArgumentNullExceptionrowIndexes is null.
ArgumentOutOfRangeExceptioncolumn is less than zero or greater than or equal to the number of rows in the matrix.
ArgumentException One or more of the elements of rowIndexes is less than zero or greater than or equal to the length of the vector.
DimensionMismatchExceptionThe length of value does not equal the number of elements in rowIndexes.

See Also