SyTen

◆ offset() [1/2]

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

If the stored dense tensor is an offset 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().

+ Here is the call graph for this function: