qdivision {qspray} | R Documentation |
Division of a qspray polynomial
Description
Division of a qspray polynomial by a list of qspray polynomials. See the reference for the definition.
Usage
qdivision(qspray, divisors)
Arguments
qspray |
the dividend, a |
divisors |
the divisors, a list of |
Value
The remainder of the division, a qspray
object.
References
Michael Weiss, 2010. Computing Gröbner Bases in Python with Buchberger’s Algorithm.
Examples
# 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
[Package qspray version 3.1.0 Index]