Array2D<T>.CloneData 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.4
C#
public Array2D<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

Array2D<T>
A new contiguous 2D array containing the elements of the current array in the rows and columns specified by rowCount and columnCount.

Implements

IStorage2D<T, TStorage2D>.CloneData(Int32, Int32)

See Also