multik-core
0.2.0
common
multik-core
/
org.jetbrains.kotlinx.multik.ndarray.operations
/
mapMultiIndexed
map
Multi
Indexed
common
@
JvmName
(
name
=
"mapDNIndexed"
)
inline
fun
<
T
,
D
:
Dimension
,
R
:
Any
>
MultiArray
<
T
,
D
>
.
mapMultiIndexed
(
transform
:
(
index
:
IntArray
,
T
)
->
R
)
:
NDArray
<
R
,
D
>
Content copied to clipboard
Return a new array contains elements after applying
transform
.