SyTen

◆ addScaled() [1/4]

template<Rank rank, typename Scalar >
void syten::CudaDenseTensorImpl::addScaled ( CudaDenseTensor< rank, Scalar > &  a,
CudaDenseTensor< rank, Scalar > const &  b,
typename IdentityType< Scalar >::type const  factor,
EliminateZeros const  ezeros = EliminateZeros::No 
)
inline

Adds the entries of the CUDA dense tensor b scaled by factor to those of a.

Remarks
Zero elimination is currently not supported. If requested, a warning will be shown once.

References syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::get_data(), and syten::logGW().

Referenced by addScaled().

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