| ReadOnlyDoubleMatrixITabularCollectionDouble, DoubleMatrixItem Property (IndexCollection, String) |
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,
string columnIndexes
] { get; set; }
Private Property Item (
rowIndexes As IndexCollection,
columnIndexes As String
) As DoubleMatrix Implements ITabularCollection(Of Double, DoubleMatrix).Item
Get
Set
private:
virtual property DoubleMatrix^ Item[IndexCollection^ rowIndexes, String^ columnIndexes] {
DoubleMatrix^ get (IndexCollection^ rowIndexes, String^ columnIndexes) sealed = ITabularCollection<double, DoubleMatrix^>::Item::get;
void set (IndexCollection^ rowIndexes, String^ columnIndexes, 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. - columnIndexes
- Type: SystemString
The zero-based column indexes of the elements to get or set.
The value must be ":", which means that all valid column indexes
are specified.
Property Value
Type:
DoubleMatrix
A tabular collection formed by the elements corresponding to the
specified row and column indexes.
Implements
ITabularCollectionTValue, TCollectionItemIndexCollection, StringExceptions Exception | Condition |
---|
ArgumentNullException | rowIndexes is null.
-or- columnIndexes 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- columnIndexes is not a string reserved for
tabular collection sub-referencing.
|
ArgumentException |
The number of rows in value is not equal to
the Count of rowIndexes.
-or-
The number of columns in value is not equal to the number
of columns of this instance.
|
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