Matrix<T>.Item(Int32, Range) Property

Gets or sets the elements of a row of this matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Vector<T> this[
	int row,
	Range columnRange
] { get; set; }

Parameters

row  Int32
The zero-based index of the row.
columnRange  Range
The zero-based index of the column containing the first element in the row vector.

Property Value

Vector<T>
A vector.

Remarks

This property allows you to directly retrieve or set the elements of a row of this instance.

Getting the value of this property returns a vector that points to the specified elements of this instance. Setting the value of this property sets the specified elements to the values in the vector that is provided.

Exceptions

ArgumentNullExceptionvalue is null
DimensionMismatchException The length of the range specified by columnRange does not equal the length of value.

See Also