ILNumerics Ultimate VS

ConcreteArrayT1, LocalT, InT, OutT, RetT, StorageTGetItem Method

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

[ILNumerics Core Module]

Namespace:  ILNumerics.Core.Arrays
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.4.0.0 (5.4.7431.3055)
Syntax

public override Object GetItem(
	long i
)

Parameters

i
Type: SystemInt64
Sequential index (1 dim), assuming ColumnMajor storage order.

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.
Remarks

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.

The element is found by 'sequential' index i. This corresponds to the position of the element in a flattened version of this array, where the flattening operation was performed in ColumnMajor storage order.

[ILNumerics Core Module]

See Also

Reference