]> www.ginac.de Git - ginac.git/blobdiff - ginac/normal.h
* mul::expand(): Considerable speedup through caching in nested loop.
[ginac.git] / ginac / normal.h
index fb6960f41f7fd13a813a30c507f202ce75fe371a..133addf6a34dc04cf883fa7dafe0ade3c706fb13 100644 (file)
@@ -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__