Span 2D<T>.Create Empty Method
Creates an empty 2D array with the specified leading dimension.
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A 2D array with the specified leading dimension, zero offset and no elements.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static Span2D<T> CreateEmpty(
int leadingDimension
)
Parameters
- leadingDimension Int32
- The leading dimension of the array.
Return Value
Span2D<T>A 2D array with the specified leading dimension, zero offset and no elements.