SyTen

◆ dot()

template<typename Scalar >
Scalar syten::dot ( DynArray< Scalar > const &  a,
DynArray< Scalar > const &  b,
bool const  conjugate 
)

Calculates the scalar product of two DynArray's.

References conj(), and syten::DynArray< Type >::size().

Referenced by build_hopping(), linkSites(), syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::normSqd(), syten::OffsetDenseTensorImpl::normSqd(), syten::CudaDenseTensorImpl::prodD(), and prodD().

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