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

◆ subtract_multiple()

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

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

321 {
322 // result -= a*b
323 Element ab(*this);
324 mult(ab, a, b);
325 subtract(result, result, ab);
326 }
void subtract(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 mult(), result(), and subtract().

Referenced by TEST().