| ReadOnlyDoubleMatrixITabularCollectionDouble, DoubleMatrixItem Property (IndexCollection, Int32) |
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[
IndexCollection rowIndexes,
int columnIndex
] { get; set; }
Private Property Item (
rowIndexes As IndexCollection,
columnIndex As Integer
) As DoubleMatrix Implements ITabularCollection(Of Double, DoubleMatrix).Item
Get
Set
private:
virtual property DoubleMatrix^ Item[IndexCollection^ rowIndexes, int columnIndex] {
DoubleMatrix^ get (IndexCollection^ rowIndexes, int columnIndex) sealed = ITabularCollection<double, DoubleMatrix^>::Item::get;
void set (IndexCollection^ rowIndexes, int columnIndex, DoubleMatrix^ value) sealed = ITabularCollection<double, DoubleMatrix^>::Item::set;
}
private abstract Item : DoubleMatrix with get, set
private override Item : DoubleMatrix with get, set
Parameters
- rowIndexes
- Type: Novacta.AnalyticsIndexCollection
The zero-based row indexes of the elements to get or set. - columnIndex
- Type: SystemInt32
The zero-based column index of the elements to get or set.
Property Value
Type:
DoubleMatrixA tabular collection formed by the elements corresponding to
the specified row and column indexes.
Implements
ITabularCollectionTValue, TCollectionItemIndexCollection, Int32Exceptions Exception | Condition |
---|
ArgumentNullException | rowIndexes is null.
-or- value is null.
|
ArgumentOutOfRangeException | rowIndexes contains an index
which is greater than or equal to the number of rows of this instance.
-or- columnIndex is
less than zero.
-or- columnIndex is greater than or equal to the
number of columns of this instance.
|
ArgumentException |
The number of columns in value is greater than 1.
-or-
The number of rows in value is not equal to
the Count of rowIndexes.
|
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