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

◆ syzygy()

void M2::ARingGFFlint::syzygy ( const ElementType & a,
const ElementType & b,
ElementType & x,
ElementType & y ) const
inline

Definition at line 393 of file aring-gf-flint.hpp.

400 {
401 assert(not is_zero(a));
402 assert(not is_zero(b));
403 set_from_long(x, 1);
404 divide(y, a, b);
405 negate(y, y);
406 }
void divide(ElementType &result, const ElementType &a, const ElementType &b) const
void negate(ElementType &result, const ElementType &a) const
bool is_zero(const ElementType &f) const
void set_from_long(ElementType &result, long a) const
volatile int x

References divide(), is_zero(), negate(), set_from_long(), and x.