ILNumerics Ultimate VS

MutableT1, LocalT, InT, OutT, RetT, StorageTItem Property (Int64)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Retrieves the value(s) of the element(s) at the position specified by d0 or sets them.

[ILNumerics Core Module]

Namespace:  ILNumerics.Core.Arrays
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: (5.5.7514.3148)

public RetT this[
	long d0
] { get; set; }


Type: SystemInt64
Index into the first dimension or sequential index into 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.

IndexOutOfRangeExceptionif the value of d0 exceeds the NumberOfElements.

This functions retrieves/ modifies an individual element or a subarray corresponding to 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 may contain 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]

See Also


Other Resources