|
inline |
Returns a GenericDenseTensor in standard format representing the same object as *this
.
Creates a copy if *this
is already in standard format, otherwise creates a new standard format tensor. Crucially, this does not first copy *this
and then calls make_standard()
on the copy but achieves the same in one step.
References syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::is_standard(), and syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::storage.
Referenced by syten::TensorBlock< rank >::return_as_dense_standard().