klyn.math.NDArray.reshape
method
public reshape(rows as Int, cols as Int) as NDArray<T>:
Description

Reshapes the NDArray using two dimensions.

Parameters
ParameterDescription
rowsThe number of rows.
colsThe number of columns.
Returns

A new reshaped NDArray.