reshape

open fun reshape(vararg shape: Int): F64Array

Reshapes the array to the specified shape.

Return

the reshaped array

Parameters

shape

the new shape


open fun reshape(rows: Int, cols: Int): F64TwoAxisArray

Reshapes the array to the specified shape.

Return

the reshaped array

Since

1.2.0

Parameters

rows

the number of rows

cols

the number of columns