Click or drag to resize

ReadOnlyDoubleMatrixITabularCollectionDouble, DoubleMatrixItem Property (IndexCollection, 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[
	IndexCollection rowIndexes,
	IndexCollection columnIndexes
] { get; set; }

Parameters

rowIndexes
Type: Novacta.AnalyticsIndexCollection
The zero-based row indexes 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, TCollectionItemIndexCollection, IndexCollection
Exceptions
ExceptionCondition
ArgumentNullExceptionrowIndexes is null.
-or-
columnIndexes is null.
-or-
value is null.
ArgumentOutOfRangeExceptionrowIndexes contains an index which 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 not equal to the Count of rowIndexes.
-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