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