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

◆ addMultipleTo() [1/2]

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

Definition at line 301 of file aring-CCC.hpp.

304 {
305 Element ab(*this);
306 mult(ab, a, b);
307 add(result, result, ab);
308 }
void add(ElementType &result, const ElementType &a, const ElementType &b) const
void mult(ElementType &res, const ElementType &a, const RealElementType &b) const
VALGRIND_MAKE_MEM_DEFINED & result(result)

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