public reshape(rows as Int, cols as Int) as NDArray<T>:
Reshapes the NDArray using two dimensions.
rows
cols
A new reshaped NDArray.