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