qdivision | R Documentation |
Division of a qspray polynomial by a list of qspray polynomials. See the reference for the definition.
qdivision(qspray, divisors)
qspray |
the dividend, a |
divisors |
the divisors, a list of |
The remainder of the division, a qspray
object.
Michael Weiss, 2010. Computing Gröbner Bases in Python with Buchberger’s Algorithm.
# a univariate example
library(qspray)
x <- qlone(1)
f <- x^4 - 4*x^3 + 4*x^2 - x # 0 and 1 are trivial roots
g <- x * (x - 1)
qdivision(f, list(g)) # should be zero
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.