Span Slice<T>.As Span 2D Method
Constructs a 2D array with the specified leading dimension.
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A 2D array.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public Span2D<T> AsSpan2D(
int leadingDimension
)
Parameters
- leadingDimension Int32
- The leading dimension of the 2D array.
Return Value
Span2D<T>A 2D array.