public reshape(notnull shape as Tuple) as NDArray<T>
Reshapes the NDArray using a tuple shape.
a = NDArray<Int>([1, 2, 3, 4]) b = a.reshape((2, 2))
shape
A new NDArray with same data order.