multik-core
0.2.0
common
multik-core
/
org.jetbrains.kotlinx.multik.ndarray.operations
/
mapIndexed
map
Indexed
common
@
JvmName
(
name
=
"mapD1Indexed"
)
inline
fun
<
T
,
R
:
Any
>
MultiArray
<
T
,
D1
>
.
mapIndexed
(
transform
:
(
index
:
Int
,
T
)
->
R
)
:
D1Array
<
R
>
Content copied to clipboard
Return a new array contains elements after applying
transform
.