ILNumerics Ultimate VS

ImmutableT1, LocalT, InT, OutT, RetT, StorageTItem Property (UInt32)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
(TODO: add numpy indexing docu) Retrieves the value of the element at the position specified by d0 or set its value.

[ILNumerics Core Module]

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

public RetT this[
	uint d0
] { get; }

Parameters

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

Return Value

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

ExceptionCondition
IndexOutOfRangeExceptionif the value of d0 exceeds the NumberOfElements.
Remarks

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 .

[ILNumerics Core Module]

See Also

Reference