kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.nd
/
as1D
as1D
fun
<
T
>
StructureND
<
T
>
.
as1D
(
)
:
Structure1D
<
T
>
(
source
)
Represent a
StructureND
as
Structure1D
. Throw error in case of dimension mismatch.
fun
<
T
>
MutableStructureND
<
T
>
.
as1D
(
)
:
MutableStructure1D
<
T
>
(
source
)