powered by
Greatest common divisor of two polynomials with rational coefficients.
gcd(qspray1, qspray2, utcf = FALSE)
A qspray polynomial.
qspray
two qspray polynomials with at more nine variables
Boolean, whether to get the greatest common divisor up to a constant factor (this can be faster)
library(resultant) x <- qlone(1) y <- qlone(2) g <- x^2 + 2*x*y + 1 p <- g * (y^2 + x^2) q <- g * (y + x^3 + 2) gcd(p, q)
Run the code above in your browser using DataLab