Click or drag to resize

DoubleMatrixItem Property (String, String, Boolean)

Note: This API is now obsolete.

Gets 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
[ObsoleteAttribute("Use instead indexers having no parameter 'avoidDenseAllocations'.")]
public DoubleMatrix this[
	string rowIndexes,
	string columnIndexes,
	bool avoidDenseAllocations
] { get; }

Parameters

rowIndexes
Type: SystemString
The zero-based row indexes of the elements to get. The value must be ":", which means that all valid row indexes are specified.
columnIndexes
Type: SystemString
The zero-based column indexes of the elements to get. The value must be ":", which means that all valid column indexes are specified.
avoidDenseAllocations
Type: SystemBoolean
If set to true signals that the elements to get will not be stored in the returned matrix applying the Dense storage scheme. Always ignored in the current release.

Property Value

Type: DoubleMatrix
A tabular collection formed by the elements corresponding to the specified row and column indexes.
Exceptions
ExceptionCondition
ArgumentNullExceptionrowIndexes is null.
-or-
columnIndexes is null.
ArgumentOutOfRangeExceptionrowIndexes is not a string reserved for tabular collection sub-referencing.
-or-
columnIndexes is not a string reserved for tabular collection sub-referencing.
Remarks
Caution note Caution

In previous releases, this indexer returned matrices whose entries were, in some cases, not directly stored: if parameter avoidDenseAllocations was true then the indexer tried to minimize memory allocations by avoiding the application of the Dense storage scheme.

Indexers that try to avoid dense allocations have been deprecated and their use is not recommended.

In the current release, the value passed to parameter avoidDenseAllocations is ignored.

In future releases, this indexer will be removed from the public API. Please use instead indexer ItemString, String.

See Also