Instances of this class represent rational functions in a single
variable. They can be evaluated like functions.
Rational functions support addition, subtraction, multiplication, and
division.
|
__add__(self,
other)
|
|
__call__(self,
value)
|
|
__coerce__(self,
other)
|
|
__div__(self,
other)
|
|
__init__(self,
numerator,
denominator=[1.0])
|
|
__mul__(self,
other)
|
|
__radd__(self,
other)
|
|
__rdiv__(self,
other)
|
|
__repr__(self)
|
|
__rmul__(self,
other)
|
|
__rsub__(self,
other)
|
|
__sub__(self,
other)
|
|
_normalize(self)
|
|
_truncate(self,
poly)
|
(Scientific.Functions.Polynomial.Polynomial, RationalFunction)
|
divide(self,
shift=0)
Returns
a polynomial and a rational function such that the sum of the two
is equal to the original rational function.
|
Numeric.array
|
poles(self)
Find the poles
(zeros of the denominator) by diagonalization of the associated
Frobenius matrix.
|
Numeric.array
|
zeros(self)
Find the zeros
(roots) of the
numerator by diagonalization of the associated Frobenius matrix.
|