Array Slice<T>.Get Index Method
Gets the index in the storage array of the element at the specified position.
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The index of the element in the storage array.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public int GetIndex(
int index
)
Parameters
- index Int32
- The zero-based index of the element in the array slice.
Return Value
Int32The index of the element in the storage array.