SyTen

◆ addScaled() [2/4]

template<typename Scalar >
void syten::addScaled ( DynArray< Scalar > &  a,
DynArray< Scalar > const &  b,
typename IdentityType< Scalar >::type const  factor 
)
inline

\( A_i \leftarrow A_i + f B_i \), adds b scaled by factor to a

References addScaled(), syten::DynArray< Type >::begin(), syten::DynArray< Type >::size(), and SYTEN_ASSERT.

+ Here is the call graph for this function: