Matrix<T>.Item(Index, Index) Property

Gets or sets the specified element in this matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public T this[
	Index row,
	Index column
] { get; set; }

Parameters

row  Index
The zero-based row index of the element to get or set.
column  Index
The zero-based column index of the element to get or set.

Property Value

T
The element of the Matrix<T> in the columnth column of the rowth row.

Exceptions

ArgumentOutOfRangeExceptioncolumn is less than zero or greater than or equal to the number of columns in this Matrix<T>. Or, row is less than zero or greater than or equal to the number of rows in this instance.

See Also