reshape

abstract fun reshape(dim1: Int): MultiArray<T, D1>

Returns an ndarray with a new (dim1) shape without changing data.


abstract fun reshape(dim1: Int, dim2: Int): MultiArray<T, D2>

Returns an ndarray with a new (dim1, dim2) shape without changing data.


abstract fun reshape(    dim1: Int,     dim2: Int,     dim3: Int): MultiArray<T, D3>

Returns an ndarray with a new (dim1, dim2, dim3) shape without changing data.


abstract fun reshape(    dim1: Int,     dim2: Int,     dim3: Int,     dim4: Int): MultiArray<T, D4>

Returns an ndarray with a new (dim1, dim2, dim3, dim4) shape without changing data.


abstract fun reshape(    dim1: Int,     dim2: Int,     dim3: Int,     dim4: Int,     vararg dims: Int): MultiArray<T, DN>

Returns an ndarray with a new (dim1, dim2, dim3, dim4, dims) shape without changing data.