Represents a JAS polynomial ring: GenPolynomialRing.
Methods to create ideals and ideals with parametric coefficients.
|
__init__(self,
ringstr="",
ring=None)
Ring constructor. |
source code
|
|
|
__str__(self)
Create a string representation. |
source code
|
|
|
ideal(self,
ringstr="",
list=None)
Create an ideal. |
source code
|
|
|
paramideal(self,
ringstr="",
list=None,
gbsys=None)
Create an ideal in a polynomial ring with parameter coefficients. |
source code
|
|
|
gens(self)
Get list of generators of the polynomial ring. |
source code
|
|
|
one(self)
Get the one of the polynomial ring. |
source code
|
|
|
zero(self)
Get the zero of the polynomial ring. |
source code
|
|
|
random(self,
k=5,
l=7,
d=3,
q=0.3)
Get a random polynomial. |
source code
|
|
|
element(self,
polystr)
Create an element from a string. |
source code
|
|
|
gcd(self,
a,
b)
Compute the greatest common divisor of a and b. |
source code
|
|
|
squarefreeFactors(self,
a)
Compute squarefree factors of polynomial. |
source code
|
|
|
factors(self,
a)
Compute irreducible factorization for modular, integer, rational
number and algebriac number coefficients. |
source code
|
|
|
factorsAbsolute(self,
a)
Compute absolute irreducible factorization for (modular,) rational
number coefficients. |
source code
|
|
|
realRoots(self,
a,
eps=None)
Compute real roots of univariate polynomial. |
source code
|
|
|
complexRoots(self,
a,
eps=None)
Compute complex roots of univariate polynomial. |
source code
|
|
|
integrate(self,
a)
Integrate (univariate) rational function. |
source code
|
|
|
powerseriesRing(self)
Get a power series ring from this ring. |
source code
|
|