squareFreeFactorization: Square-free factorization of a polynomial

View source: R/squareFreeFactorization.R

squareFreeFactorizationR Documentation

Square-free factorization of a polynomial

Description

Square-free factorization of a polynomial with rational coefficients.

Usage

squareFreeFactorization(qspray)

Arguments

qspray

a qspray polynomial having at most nine variables

Value

A list with two fields constantFactor and nonConstantFactors. In the field constantFactor, there is a bigq rational number, the constant factor of the factorization. In the field nonConstantFactors, there is a list providing the square-free and pairwise coprime qspray polynomials of the factorization with their multiplicity.

Examples

library(resultant)
x <- qlone(1)
y <- qlone(2)
p <- x^8*y^7 + 2*x^7*y^5 + x^6*y^4 + 2*x^5*y^2
squareFreeFactorization(p)

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