[ILNumerics Core Module]
Namespace: ILNumerics.Core.Arrays
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Parameters
- d0
- Type: SystemUInt32
Index into the first dimension or sequential index into the array.
Property Value
Type: RetTRight side array with value(s) to be assigned to the element(s) addressed.
Return Value
Type: RetTElement value(s) wrapped into a new array.
Exception | Condition |
---|---|
IndexOutOfRangeException | if the value of a given index exceeds the valid range. |
This functions retrieves/ modifies an individual element or a subarray corresponding to the index d0.
If this array has more dimensions than indices specified the size of the subarray returned / of the subarray addressed depends on the setting of ArrayStyle. For ILNumericsV4d0 is considered a sequential index into its own and into subsequent, merged dimensions. The array returned will be a scalar. This mode allows to expand / to remove parts of this array when using the set accessor.
For numpy all indices must fit into their dimensions. Any unspecified trailing dimensions are substituted with full and the array returned contains multiple elements from those dimensions. numpy does not allow to change the size of existing arrays.
This indexer is readonly on immutable types. It is optimized for efficient single element access by providing a distinct index parameter for each dimension of this array. Providing a number of indices matching the number of dimensions in this array is recommended for speed and for compatibility of the index access with both ArrayStyles.
In order to access elements based on their element type T1 directly (i.e.: without wrapping it into a new array) and as a faster alternative for scalar or mostly-scalar algorithms use one of the extension methods or similar overloads for concrete arrays.
[ILNumerics Core Module]