This function attempts to find a rational function representation of the (ordinary) generating function given by the list of integers input in coeffs. The return value is an ordered triple, given by the numerator of the rational function, the denominator of the rational function, and an expression representing the quotient of these two items.
If no rational representation could be found, null is returned.



This method is used in the ncHilbertSeries method, but may also be used to find rational expressions of Poincare series:




The object toRationalFunction is a method function.