SyTen

◆ standard() [1/2]

template<Rank rank, typename Scalar = SDef>
auto& syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::standard ( )
inline

If the stored dense tensor is a standard dense tensor, returns a reference to it, otherwise terminates.

References syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::storage, SYTEN_ASSERT_MSG, SYTEN_SINGLE_ARG, and syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::translate_index().

Referenced by syten::abs(), syten::GenericDenseTensorImpl::addScaled(), syten::avgAbs(), syten::checkedAddParallel(), syten::Pyten::init_tensor(), syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::make_cuda(), syten::max(), and syten::trace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: