ILNumerics Ultimate VS

ImmutableT1, 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(s) specified by d0. Deep indexing for cells.

[ILNumerics Core Module]

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

public RetT this[
	long d0
] { get; }


Type: SystemInt64
Index into the first dimension or sequential index into the array.

Return Value

Type: RetT
Element value wrapped into a new scalar array.

IndexOutOfRangeExceptionif the value of d0 exceeds the NumberOfElements.

This functions retrieves the value of the element at sequential index d0. Note that the index provided in d0 does not correspond to the storage position of the element to retrieve. This would only be true for special cases of storage layout and dimension numbers. For arbitrary storage layouts both are likely to be different.

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 and/or its specific overloads for the individiual element types.

[ILNumerics Core Module]

See Also