kmath
0.3.1-dev-RC
common
kmath-tensors
/
space.kscience.kmath.tensors.core
/
asDoubleTensor1D
as
Double
Tensor1D
fun
DoubleTensor
.
asDoubleTensor1D
(
)
:
DoubleTensor1D
(
source
)
A zero-copy cast to 1D structure. Changes in resulting structure are reflected on original tensor.