Gets or sets the elements of a sub-matrix of this matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Matrix<T> this[
Range rowRange,
Range columnRange
] { get; set; }
Public Default Property Item (
rowRange As Range,
columnRange As Range
) As Matrix(Of T)
Get
Set
public:
property Matrix<T>^ default[Range rowRange, Range columnRange] {
Matrix<T>^ get (Range rowRange, Range columnRange);
void set (Range rowRange, Range columnRange, Matrix<T>^ value);
}
member Item : Matrix<'T> with get, set
Parameters
- rowRange
- Type: SystemRange
A Range value that specifies
the range of rows that are to make up the new matrix.
- columnRange
- Type: SystemRange
A Range value that specifies
the range of columns that are to make up the new matrix.
Property Value
Type:
MatrixTA vector.
Exception | Condition |
---|
ArgumentNullException | value is |
DimensionMismatchException |
The length of the range specified by rowRange does not equal
the number of rows of value.
-or-
The length of the range specified by columnRange does not equal
the number of columns of value.
|
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.
Reference