SyTen

◆ addScaled()

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

\( a_i = a_i + f b_i \) with a a standard dense tensor and b an offset dense tensor.

References syten::abs(), syten::addScaled(), syten::DenseTensor< rank, Scalar >::begin(), syten::DenseTensor< rank, Scalar >::size(), SYTEN_EZERO_THRESHOLD, and syten::underThreshold().

+ Here is the call graph for this function: