Rational function
Rational function expansion
A rational function is defined as the ratio of two polynomials
The expansion of the rational function is computed recursively. More explicitly, if
and
then
is computed by equating the coefficients of
we get
Implementation
Rational functions of polynomials with real coefficients are implemented in the class demetra.maths.polynomials.RationalFunction