| ReadOnlyDoubleMatrixITabularCollectionDouble, DoubleMatrixItem Property (Int32, IndexCollection) |
Gets or sets the elements of this instance corresponding to the specified row
and column indexes.
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax DoubleMatrix ITabularCollection<double, DoubleMatrix>.this[
int rowIndex,
IndexCollection columnIndexes
] { get; set; }
Private Property Item (
rowIndex As Integer,
columnIndexes As IndexCollection
) As DoubleMatrix Implements ITabularCollection(Of Double, DoubleMatrix).Item
Get
Set
private:
virtual property DoubleMatrix^ Item[int rowIndex, IndexCollection^ columnIndexes] {
DoubleMatrix^ get (int rowIndex, IndexCollection^ columnIndexes) sealed = ITabularCollection<double, DoubleMatrix^>::Item::get;
void set (int rowIndex, IndexCollection^ columnIndexes, DoubleMatrix^ value) sealed = ITabularCollection<double, DoubleMatrix^>::Item::set;
}
private abstract Item : DoubleMatrix with get, set
private override Item : DoubleMatrix with get, set
Parameters
- rowIndex
- Type: SystemInt32
The zero-based row index of the elements to get or set. - columnIndexes
- Type: Novacta.AnalyticsIndexCollection
The zero-based column indexes of the elements to get or set.
Property Value
Type:
DoubleMatrix
A tabular collection formed by the elements corresponding to the specified row
and column indexes.
Implements
ITabularCollectionTValue, TCollectionItemInt32, IndexCollectionExceptions Exception | Condition |
---|
ArgumentNullException | columnIndexes is null.
-or- value is null.
|
ArgumentOutOfRangeException | rowIndex is
less than zero.
-or- rowIndex is greater than or equal to the
number of rows of this instance.
-or- columnIndexes contains an index
which is greater than or equal to the
number of columns of this instance.
|
ArgumentException |
The number of rows in value is greater than 1.
-or-
The number of columns in value is not equal to
the Count of columnIndexes.
|
Remarks
When setting elements simultaneously, the value must be a
tabular collection having a number of rows equal to the number of specified row indexes,
and a number of columns equal to the number of specified column indexes.
See Also