ILNumerics Ultimate VSMutableT1, LocalT, InT, OutT, RetT, StorageTItem Property (UInt32, UInt32, UInt32, UInt32, UInt32)ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Retrieves the value(s) of the element(s) at the position specified by d0 ... d4 or sets them.

[ILNumerics Core Module]

Namespace: ILNumerics.Core.Arrays
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.3.0.0 (5.3.7131.2749)
Syntax

public RetT this[
	uint d0,
	uint d1,
	uint d2,
	uint d3,
	uint d4
] { get; set; }

Parameters

d0
Type: SystemUInt32
Index into the first dimension.
d1
Type: SystemUInt32
Index into the second dimension.
d2
Type: SystemUInt32
Index into the third dimension.
d3
Type: SystemUInt32
Index into the fourth dimension.
d4
Type: SystemUInt32
Index into the fifths dimension or sequential index into remaining dimensions of the array.

Property Value

Type: RetT
Right side array with value(s) to be assigned to the element(s) addressed.

Return Value

Type: RetT
Element value(s) wrapped into a new array.
Exceptions

ExceptionCondition
IndexOutOfRangeExceptionif the value of a given index exceeds the valid range.
Remarks

This functions retrieves/ modifies an individual element or a subarray corresponding to d0 ... d4.

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 ILNumericsV4d4 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]

See Also

Reference

Other Resources