Macaulay2 Engine
Loading...
Searching...
No Matches

◆ addMultipleTo()

void M2::ARingCCi::addMultipleTo ( ElementType & result,
const ElementType & a,
const ElementType & b ) const
inline

Definition at line 348 of file aring-CCi.hpp.

351 {
352 ElementType ab;
353 init(ab);
354 mult(ab,a,b);
355 add(result,result,ab);
356 }
void add(ElementType &result, const ElementType &a, const ElementType &b) const
void mult(ElementType &result, const ElementType &a, const ElementType &b) const
void init(ElementType &result) const
VALGRIND_MAKE_MEM_DEFINED & result(result)

References add(), init(), mult(), and result().