subresultants: Subresultants of two polynomials

View source: R/subresultants.R

subresultantsR Documentation

Subresultants of two polynomials

Description

Subresultants of two polynomials with rational coefficients.

Usage

subresultants(qspray1, qspray2, var = 1)

Arguments

qspray1, qspray2

two qspray polynomials having at most nine variables

var

integer indicating with respect to which variable the subresultants will be computed (e.g. 1 for x and 2 for y)

Value

A list of qspray polynomials.

Examples

library(resultant)
x <- qlone(1)
y <- qlone(2)
p <- x^2 * y * (y^2 - 5*x + 6)
q <- x^2 * y * (3*y + 2)
subresultants(p, q, var = 1)
subresultants(p, q, var = 2)

resultant documentation built on Sept. 11, 2024, 8:01 p.m.