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

◆ addMultipleTo()

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

Definition at line 228 of file aring-RRi.hpp.

231 {
232 ElementType ab;
233 init(ab);
234 mult(ab,a,b);
235 add(result,result,ab);
236 }
void init(ElementType &result) const
void add(ElementType &result, const ElementType &a, const ElementType &b) const
void mult(ElementType &result, const ElementType &a, const ElementType &b) const
VALGRIND_MAKE_MEM_DEFINED & result(result)

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