Represents a JAS polynomial ring: GenPolynomialRing.
Methods to create ideals and ideals with parametric coefficients.
|
|
|
variable_generators(self)
Define instance variables for generators. |
source code
|
|
|
__str__(self)
Create a string representation. |
source code
|
|
|
__eq__(self,
other)
Test if two rings are equal. |
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
|
|
|
powerseriesRing(self)
Get a power series ring from this ring. |
source code
|
|
|
gens(self)
Get list of generators of the polynomial ring. |
source code
|
|
|
inject_variables(self)
Inject generators as variables into the main global namespace |
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,
poly)
Create an element from a string or object. |
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
|
|
|
algebraicRoots(self,
a,
eps=None)
Algebraic real and Compute complex roots of univariate polynomial. |
source code
|
|
|
rootRefine(self,
a,
eps=None)
Compute algebraic roots refinement. |
source code
|
|
|
decimalRoots(self,
a,
eps=None)
Compute decimal approximation of real and complex roots of univariate
polynomial. |
source code
|
|
|
rootsOfUnity(self,
a)
Roots of unity of real and complex algebraic numbers. |
source code
|
|
|
|
|
integrate(self,
a)
Integrate rational function or power series. |
source code
|
|