ILNumerics Ultimate VS

ExtensionMethodsGetValue Method (BaseArrayInt16, UInt32)

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

[ILNumerics Core Module]

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

public static short GetValue(
	this BaseArray<short> A,
	uint d0


Type: ILNumericsBaseArrayInt16
The array instance.
Type: SystemUInt32
Index into the first dimension or sequential index into the array.

Return Value

Type: Int16
Element value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BaseArrayInt16. 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