public reshape(shape as Tuple) as NDArray<T>:
a = NDArray<Int>.fromList([1, 2, 3, 4]) b = a.reshape((2, 2))