Span2D<T>.CreateEmpty 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.2
C#
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.

See Also