ILNumerics - Technical Application Development
Assembly: ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
Copy of the element as located by the index arguments d0 and d1.
[numpy API] Returns a single element from this array according to the provided dimension indices.
[ILNumerics numpy Module]
Namespace: ILNumerics
Assembly: ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- A
- Type: ILNumerics.BaseArray<T1>
The ILNumerics n-dim array. - d0
- Type: System.Int64
Index into dimension #0. - d1
- Type: System.Int64
Index into dimension #1.
Type Parameters
- T1
- Element type.
Return Value
Type: T1Copy of the element as located by the index arguments d0 and d1.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type BaseArray<T1>. 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
Exception | Condition |
---|---|
IndexOutOfRangeException | if an index exceeds the allowed range of the corresponding dimension. |
Remarks
An index for dimension i can be negative and must evaluate to an element position in the range 0...A.S[i]-1.
This function does not support the merging of trailing, unspecified dimensions as known from [!:ILNumerics.ExtensionMethods.GetValue(BaseArray<bool>, long, long, long, long, long, long, long)] or from item<T1>(BaseArray<T1>, Int64).
Unspecified dimension indices are assumed to be 0. Optional indices for virtual dimensions must be 0.
[ILNumerics numpy Module]
See Also
Reference
[!:ILNumerics.ExtensionMethods.GetValue(BaseArray<bool>, long, long, long, long, long, long, long)]