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