asDoubleTensor1D

A zero-copy cast to 1D structure. Changes in resulting structure are reflected on original tensor.