Memory 2D<T>.Clone Data Method
Returns a new contiguous 2D array with the specified elements of the current array.
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A new contiguous 2D array containing the elements of the current array in the rows and columns specified by rowCount and columnCount.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public Memory2D<T> CloneData(
int rowCount,
int columnCount
)
Parameters
- rowCount Int32
- The number of rows in the new array.
- columnCount Int32
- The number of columns in the new array.
Return Value
Memory2D<T>A new contiguous 2D array containing the elements of the current array in the rows and columns specified by rowCount and columnCount.