MemorySlice<T>.AsMemory2D Method

Constructs a 2D array with the specified leading dimension.

DefinitionPermalink

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
public Memory2D<T> AsMemory2D(
	int leadingDimension
)

ParametersPermalink

leadingDimension  Int32
The leading dimension of the 2D array.

Return ValuePermalink

Memory2D<T>
A 2D array.

See AlsoPermalink