ILNumerics Ultimate VS

ConcreteRetArrayT1, LocalT, InT, OutT, RetT, StorageTGetItem Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Retrieve the value of the element addressed by the sequential index in i.

[ILNumerics Core Module]

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

public override Object GetItem(
	long i


Type: SystemInt64
Sequential index (1 dim), taking the striding (Size) of this array into account.

Return Value

Type: Object
Boxed copy of the element at position i if the elements stored in this array are structs. Otherwise a reference copy of the element at i is returned.

This function provides a way to access element values of this untyped base array for convenience reasons. It is needed in very rare cases only. Don't expect great performance from using untyped functions like this! The recommended performant way is to use the strongly typed classes (ArrayT, Logical, Cell) and the corresponding typed API functions only.

i refers to the position of the element whos value to retrieve, where the position is considered the index of the same element when lining all elements up in ColumnMajor order.

[ILNumerics Core Module]

See Also