X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;ds=sidebyside;f=ginac%2Fnormal.h;h=133addf6a34dc04cf883fa7dafe0ade3c706fb13;hb=bb3808bb989db7e81755f1bfc7c6863d7c960e06;hp=fb6960f41f7fd13a813a30c507f202ce75fe371a;hpb=fae800e3a2dfe04b49bac90cfd7ab4e155e865e6;p=ginac.git diff --git a/ginac/normal.h b/ginac/normal.h index fb6960f4..133addf6 100644 --- a/ginac/normal.h +++ b/ginac/normal.h @@ -39,6 +39,9 @@ extern ex quo(const ex &a, const ex &b, const symbol &x, bool check_args = true) // Remainder r(x) of polynomials a(x) and b(x) in Q[x], so that a(x)=b(x)*q(x)+r(x) extern ex rem(const ex &a, const ex &b, const symbol &x, bool check_args = true); +// Decompose rational function a(x)=N(x)/D(x) into Q(x)+R(x)/D(x) with degree(R, x) < degree(D, x) +extern ex decomp_rational(const ex &a, const symbol &x); + // Pseudo-remainder of polynomials a(x) and b(x) in Z[x] extern ex prem(const ex &a, const ex &b, const symbol &x, bool check_args = true); @@ -54,6 +57,9 @@ extern ex lcm(const ex &a, const ex &b, bool check_args = true); // Square-free factorization of a polynomial a(x) extern ex sqrfree(const ex &a, const lst &l = lst()); +// Square-free partial fraction decomposition of a rational function a(x) +extern ex sqrfree_parfrac(const ex & a, const symbol & x); + } // namespace GiNaC #endif // ndef __GINAC_NORMAL_H__