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

Reshapes the NDArray using two dimensions.

Parameters
  • rows The number of rows.
  • cols The number of columns.
Returns

A new reshaped NDArray.