pfr.spad line 327 [edit on github]
The package PartialFractionPackage gives an easier to use interface to PartialFraction. The user gives a fraction of polynomials, and a variable and the package converts it to the proper datatype for the PartialFraction domain.
partialFraction(rf, var)
returns the partial fraction decomposition of the rational function rf
with respect to the variable var.
partialFraction(num, facdenom, var)
returns the partial fraction decomposition of the rational function whose numerator is num
and whose factored denominator is facdenom
with respect to the variable var.