Array2D<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.0
C#
public static Array2D<T> CreateEmpty(
	int leadingDimension
)

Parameters

leadingDimension  Int32
The leading dimension of the array.

Return Value

Array2D<T>
A 2D array with the specified leading dimension, zero offset and no elements.

See Also