Module jas :: Class MultiSeriesRing
[hide private]
[frames] | no frames]

Class MultiSeriesRing

source code

Represents a JAS power series ring: MultiVarPowerSeriesRing.

Methods for multivariate power series arithmetic.

Instance Methods [hide private]
 
__init__(self, ringstr="", truncate=None, ring=None, cofac=None, names=None)
Ring constructor.
source code
 
__str__(self)
Create a string representation.
source code
 
gens(self)
Get the generators of the power series ring.
source code
 
inject_variables(self)
Inject generators as variables into the main global namespace
source code
 
one(self)
Get the one of the power series ring.
source code
 
zero(self)
Get the zero of the power series ring.
source code
 
random(self, n)
Get a random power series.
source code
 
exp(self, r)
Get the exponential power series, var r.
source code
 
sin(self, r)
Get the sinus power series, var r.
source code
 
cos(self, r)
Get the cosinus power series, var r.
source code
 
tan(self, r)
Get the tangens power series, var r.
source code
 
create(self, ifunc=None, jfunc=None, clazz=None)
Create a power series with given generating function.
source code
 
fixPoint(self, psmap)
Create a power series as fixed point of the given mapping.
source code
 
gcd(self, a, b)
Compute the greatest common divisor of a and b.
source code
 
fromPoly(self, a)
Convert a GenPolynomial to a power series.
source code
Method Details [hide private]

create(self, ifunc=None, jfunc=None, clazz=None)

source code 

Create a power series with given generating function.

ifunc(int i) must return a value which is used in RingFactory.fromInteger(). jfunc(int i) must return a value of type ring.coFac. clazz must implement the Coefficients abstract class.

fixPoint(self, psmap)

source code 

Create a power series as fixed point of the given mapping.

psmap must implement the UnivPowerSeriesMap interface.