SyTen

◆ normSqd()

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

Returns the squared norm of the generic dense tensor a.

normSqd() needs to be implemented for any specialised dense tensor class.

References syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::storage.