pol-pfrac.gp splits a
Pari/GP polynomial fraction into
partial fractions which sum to the original. See the comments in
pol-pfrac.gp for details.
read("pol-pfrac.gp"); f = 2/(x^2-1); v = pol_partial_fractions(f); \\ gives v == [ 1/(x-1), -1/(x+1) ] \\ with vecsum(v) == f
pol-pfrac.gp(16k, and sig)
pol-pfrac-2.tar.gz(26k, and sig)
This page Copyright 2015, 2016, 2017 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.
(Back to the sitemap, or the Pari/GP section there)