kmath
common
kmath-core
/
space.kscience.kmath.nd
/
AlgebraND
/
map
map
common
@
PerformancePitfall
(
message
=
"Very slow on remote execution algebras"
)
open
fun
StructureND
<
T
>
.
map
(
transform
:
C
.
(
T
)
->
T
)
:
StructureND
<
T
>
Content copied to clipboard
Maps elements from one structure to another one by applying
transform
to them.
Sources
common source
Link copied to clipboard