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

◆ divide()

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

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

399 {
400 // result -= a*b
401 ElementType b_inv;
402 init(b_inv);
403 invert(b_inv,b);
404 mult(result,a,b_inv);
405 clear(b_inv);
406 }
void invert(ElementType &result, const ElementType &a) const
void mult(ElementType &result, const ElementType &a, const ElementType &b) const
static void clear(ElementType &result)
void init(ElementType &result) const
VALGRIND_MAKE_MEM_DEFINED & result(result)

References clear(), init(), invert(), mult(), and result().

Referenced by syzygy().