SyTen

◆ normSqd()

template<Rank rank, typename Scalar >
ScalarBase< Scalar >::type syten::OffsetDenseTensorImpl::normSqd ( OffsetDenseTensor< rank, Scalar > const &  a)
inline

Returns the squared norm of the offset dense tensor a.

References syten::dot(), syten::OffsetDenseTensorImpl::OffsetDenseTensor< rank, Scalar >::get_data(), and syten::real().

+ Here is the call graph for this function: