SyTen

◆ normSqd()

template<Rank rank, typename Scalar = SDef>
ScalarBase<Scalar>::type syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::normSqd ( ) const
inline

Returns the squared norm of this tensor.

References syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::data, syten::dot(), syten::isnan(), syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::normSqd_cache, syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::normSqd_cache_mtx, syten::real(), and syten::YesNo< struct _prod_conj >::y().

Referenced by syten::CudaDenseTensorImpl::isZero(), and syten::CudaDenseTensorImpl::normSqd().

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