reorder

open fun reorder(indices: IntArray, axis: Int = 0)

Reorders the array along the specified axis.

Parameters

indices

the indices to reorder the array with

axis

the axis to reorder along