SyTen

◆ addScaled() [4/4]

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

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

Remarks
Zero elimination is currently not supported. If requested, a warning will be shown once.
a will first be transformed into a standard dense tensor and then into a CudaDenseTensor.

References addScaled().

+ Here is the call graph for this function: