Span2D<T>.GetIndex 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#
public int GetIndex(
	int row,
	int column
)

Parameters

row  Int32
The zero-based row of the element.
column  Int32
The zero-based column of the element.

Return Value

Int32
The index of the element in the storage array.

See Also