multik-core
0.2.0
common
multik-core
/
org.jetbrains.kotlinx.multik.ndarray.operations
/
filterIndexed
filter
Indexed
common
@
JvmName
(
name
=
"filterD1Indexed"
)
inline
fun
<
T
>
MultiArray
<
T
,
D1
>
.
filterIndexed
(
predicate
:
(
index
:
Int
,
T
)
->
Boolean
)
:
D1Array
<
T
>
Content copied to clipboard
Return a new array contains elements matching filter.