The call res <- residue(b, a) computes the partial fraction expansion
for the quotient of the polynomials, b and a.
The call res <- rresidue(r, p, k) performs the inverse operation and
computes the reconstituted quotient of polynomials, b(s) / a(s), from the
partial fraction expansion; represented by the residues, poles, and a direct
polynomial specified by r, p and k, and the pole
multiplicity e.