[ILNumerics Core Module]
Namespace: ILNumerics.Core.Arrays
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
public RetT this[ long d0, long d1, long d2, long d3, long d4, long d5, long d6 ] { get; set; }
Parameters
- d0
- Type: SystemInt64
Index into the first dimension. - d1
- Type: SystemInt64
Index into the second dimension. - d2
- Type: SystemInt64
Index into the third dimension. - d3
- Type: SystemInt64
Index into the fourth dimension. - d4
- Type: SystemInt64
Index into the fifths dimension. - d5
- Type: SystemInt64
Index into the sixths dimension. - d6
- Type: SystemInt64
Index into the sevenths dimension or sequential index into remaining dimensions of the array, if any.
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 d0 ... d6.
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 ILNumericsV4d6 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.
This overload allows indexing into huge arrays and negative indices, addressing elements from the end of their respective dimension / merged dimensions.
[ILNumerics Core Module]