View source: R/squareFreeFactorization.R
| squareFreeFactorization | R Documentation |
Square-free factorization of a polynomial with rational coefficients.
squareFreeFactorization(qspray)
qspray |
a |
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.