kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.nd
/
as2D
as2D
fun
<
T
>
StructureND
<
T
>
.
as2D
(
)
:
Structure2D
<
T
>
(
source
)
fun
<
T
>
MutableStructureND
<
T
>
.
as2D
(
)
:
MutableStructure2D
<
T
>
(
source
)
Represents a
StructureND
as
Structure2D
. Throws runtime error in case of dimension mismatch.