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

◆ divide()

bool M2::ARingZZ::divide ( ElementType & result,
const ElementType & a,
const ElementType & b ) const
inline

test doc

Definition at line 207 of file aring-zz-flint.hpp.

210 {
211 if (fmpz_divisible(&a, &b))
212 {
213 fmpz_divexact(&result, &a, &b);
214 return true;
215 }
216 else
217 return false;
218 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References result().

Referenced by syzygy().