ILNumerics Ultimate VSExtensionMethodsGetValue Method (BaseArrayInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Retrieves the value of the element at the position specified by d0 ... d5.

[ILNumerics Core Module]

Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.3.0.0 (5.3.7131.2749)
Syntax

public static int GetValue(
	this BaseArray<int> A,
	uint d0,
	uint d1,
	uint d2,
	uint d3,
	uint d4,
	uint d5
)

Parameters

A
Type: ILNumericsBaseArrayInt32
The array instance.
d0
Type: SystemUInt32
Index into the first dimension.
d1
Type: SystemUInt32
Index into the second dimension.
d2
Type: SystemUInt32
Index into the third dimension.
d3
Type: SystemUInt32
Index into the fourth dimension.
d4
Type: SystemUInt32
Index into the fifths dimension.
d5
Type: SystemUInt32
Index into the sixths dimension or sequential index into remaining dimensions of the array.

Return Value

Type: Int32
Element value.

Usage Note

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

ExceptionCondition
IndexOutOfRangeExceptionif at least one of the values of d0, d1, d2, d3, d4 exceeds the number of elements in its corresponding dimension, or if the computed index according to all index parameters d0, d1,... exceeds the NumberOfElements of A.
Remarks

This functions retrieves the value of the element as given by the indices into the first six dimensions.

If the value provided by the last index parameter exceeds the number of elements in its corresponding dimension the superflous index value is translated into subsequent dimensions.

[ILNumerics Core Module]

See Also

Reference