PartialFractionPackage RΒΆ

pfr.spad line 310 [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: (Fraction Polynomial R, Symbol) -> Any

partialFraction(rf, var) returns the partial fraction decomposition of the rational function rf with respect to the variable var.

partialFraction: (Polynomial R, Factored Polynomial R, Symbol) -> Any

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.