ILNumerics - Technical Application Development
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Element value wrapped into a new scalar array.
Retrieves the value(s) of the element(s) at the position(s) specified by d0 and d1. Deep indexing for cells.
[ILNumerics Core Module]
Namespace: ILNumerics.Core.Arrays
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- d0
- Type: SystemInt64
Index into the first dimension. - d1
- Type: SystemInt64
Index into the second dimension or sequential index into remaining dimensions of the array.
Return Value
Type: RetTElement value wrapped into a new scalar array.
Exceptions
Exception | Condition |
---|---|
IndexOutOfRangeException | if the value of d0 exceeds the number of elements in the first dimension or the computed index according to all index parameters d0, d1,... exceeds the NumberOfElements. |
Remarks
This functions retrieves the value of the element as given by the indices into the first two dimensions.
If the value provided by the last index parameter exceeds the number of elements in its corresponding dimension the superflous index value is translated into subsequent dimensions.
This indexer is readonly on immutable types. The get accessor returns a scalar array. In order to receive the value of the element addressed as system type directly (i.e.: without wrapping it into a new array) and as a faster alternative for scalar or mostly-scalar algorithms use .
[ILNumerics Core Module]
See Also