Memory 2D<T>.Resize Method
Returns a new array with the specified size and leading dimension.
Elements are copied to the new array.
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
An array of size newSize with leading dimension newLeadingDimension.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public Memory2D<T> Resize(
int newSize,
int newLeadingDimension
)
Parameters
- newSize Int32
- The number of elements in the new array.
- newLeadingDimension Int32
- The leading dimension of the new array.
Return Value
Memory2D<T>An array of size newSize with leading dimension newLeadingDimension.