ReadOnlySpan2D<T> Constructor

Constructs a new 2D span.

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public ReadOnlySpan2D(
	ReadOnlySpan<T> span,
	int leadingDimension
)

Parameters

span  ReadOnlySpan<T>
The one-dimensional span that defines the region of memory.
leadingDimension  Int32
The number of elements along the leading dimension of the two-dimensional region.

See Also