qdivision function

Division of a qspray polynomial

Division of a qspray polynomial

Division of a qspray polynomial by a list of qspray polynomials. See the reference for the definition.

qdivision(qspray, divisors)

Arguments

  • qspray: the dividend, a qspray object
  • divisors: the divisors, a list of qspray objects

Returns

The remainder of the division, a qspray object.

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

References

Michael Weiss, 2010. Computing Gröbner Bases in Python with Buchberger’s Algorithm.

  • Maintainer: Stéphane Laurent
  • License: GPL-3
  • Last published: 2024-07-27