Learn R Programming

resultant (version 1.0.0)

subresultants: Subresultants of two polynomials

Description

Subresultants of two polynomials with rational coefficients.

Usage

subresultants(qspray1, qspray2, var = 1)

Value

A list of qspray polynomials.

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)

Examples

Run this code
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)

Run the code above in your browser using DataLab