transpose

abstract fun transpose(vararg axes: Int): MultiArray<T, D>

Reverse or permute the axes of an array.