ILNumerics Ultimate VS

ExtensionMethodsGetValueT Method (BaseArrayT, Int64)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Retrieves the value of the element at the position as specified by d0. Int64 indexing.

[ILNumerics Core Module]

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

public static T GetValue<T>(
	this BaseArray<T> A,
	long d0


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

Type Parameters


Return Value

Type: T
Element value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BaseArrayT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

IndexOutOfRangeExceptionif the value of d0 exceeds the NumberOfElements of A.

This functions retrieves the value of the element at sequential index d0. Note that the index provided in d0 does not correspond with 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 differ.

[ILNumerics Core Module]

See Also