Proxy for JAS ring elements.
Methods to be used as + - * ** / %.
|
__init__(self,
elem)
Constructor for ring element. |
source code
|
|
|
__str__(self)
Create a string representation. |
source code
|
|
|
|
|
isZERO(self)
Test if this is the zero element of the ring. |
source code
|
|
|
|
|
isONE(self)
Test if this is the one element of the ring. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
isFactory(self)
Test if this is itself a ring factory. |
source code
|
|
|
isPolynomial(self)
Test if this is a polynomial. |
source code
|
|
|
__cmp__(self,
other)
Compare two ring elements. |
source code
|
|
|
|
|
__mul__(self,
other)
Multiply two ring elements. |
source code
|
|
|
__rmul__(self,
other)
Reverse multiply two ring elements. |
source code
|
|
|
__add__(self,
other)
Add two ring elements. |
source code
|
|
|
__radd__(self,
other)
Reverse add two ring elements. |
source code
|
|
|
__sub__(self,
other)
Subtract two ring elements. |
source code
|
|
|
__rsub__(self,
other)
Reverse subtract two ring elements. |
source code
|
|
|
__div__(self,
other)
Divide two ring elements. |
source code
|
|
|
__rdiv__(self,
other)
Reverse divide two ring elements. |
source code
|
|
|
__mod__(self,
other)
Modular remainder of two ring elements. |
source code
|
|
|
__xor__(self,
other)
Can not be used as power. |
source code
|
|
|
__pow__(self,
other)
Power of this to other. |
source code
|
|
|
__eq__(self,
other)
Test if two ring elements are equal. |
source code
|
|
|
__ne__(self,
other)
Test if two ring elements are not equal. |
source code
|
|
|
|
|
factory(self)
Get the factory of this element. |
source code
|
|
|
gens(self)
Get the generators for the factory of this element. |
source code
|
|
|
|
|
evaluate(self,
a)
Evaluate at a for power series. |
source code
|
|
|
integrate(self,
a=0,
r=None)
Integrate a power series with constant a or as rational function. |
source code
|
|
|
|
|
coefficients(self)
Get the coefficients of a polynomial. |
source code
|
|