2 #include "sr_gcd_uvar.h"
3 #include "heur_gcd_uvar.h"
9 upoly sr_gcd(const upoly& a, const upoly& b)
12 bool found = sr_gcd_priv(g, a, b);
16 throw std::runtime_error("failed to compute gcd");
19 bool heur_gcd_z(upoly& g, const upoly& a, const upoly& b)
21 return heur_gcd_z_priv(g, a, b);
24 upoly pseudoremainder(const upoly& a, const upoly& b)
27 pseudoremainder(r, a, b);