kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.nd
/
permute
permute
fun
<
T
>
StructureND
<
T
>
.
permute
(
permutation
:
(
IntArray
)
->
IntArray
)
:
PermutedStructureND
<
T
>
(
source
)
fun
<
T
>
MutableStructureND
<
T
>
.
permute
(
newShape
:
ShapeND
=
shape
,
permutation
:
(
IntArray
)
->
IntArray
)
:
PermutedMutableStructureND
<
T
>
(
source
)