Click or drag to resize

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; }

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, IndexCollection
Exceptions
ExceptionCondition
ArgumentNullExceptioncolumnIndexes is null.
-or-
value is null.
ArgumentOutOfRangeExceptionrowIndex 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