ILNumerics Ultimate VS

ExtensionMethodsGetValueT Method (BaseArrayT, Int64, Int64)

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

[ILNumerics Core Module]

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

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

Parameters

A
Type: ILNumericsBaseArrayT
The array instance.
d0
Type: SystemInt64
Index into the first dimension.
d1
Type: SystemInt64
Index into the second dimension or sequential index into remaining dimensions of the array.

Type Parameters

T

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).
Exceptions

ExceptionCondition
IndexOutOfRangeExceptionif the value of d0 exceeds the number of elements in the first dimension or 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 two 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