SyTen

◆ normSqd()

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

Returns the squared norm of the input tensor a.

References syten::IdentityDenseTensorImpl::IdentityDenseTensor< rank, Scalar >::dim(), if_constexpr, syten::IdentityDenseTensorImpl::IdentityDenseTensor< rank, Scalar >::offset, syten::rank(), and SYTEN_ASSERT_MSG.

+ Here is the call graph for this function: