]> www.ginac.de Git - ginac.git/blobdiff - ginac/pseries.h
Stupid error: did the revert on the wrong branch (master instead of ginac_1-4).
[ginac.git] / ginac / pseries.h
index fe88508cd7668e928c39a817b94d446edcb05739..e84cc5b3ae54c1349c63298bc0cb73e9b66efe9e 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to class for extended truncated power series. */
 
 /*
- *  GiNaC Copyright (C) 1999-2006 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -56,7 +56,14 @@ public:
        ex normal(exmap & repl, exmap & rev_lookup, int level = 0) const;
        ex expand(unsigned options = 0) const;
        ex conjugate() const;
+       ex real_part() const;
+       ex imag_part() const;
        ex eval_integ() const;
+       ex evalm() const;
+       /** Save (a.k.a. serialize) object into archive. */
+       void archive(archive_node& n) const;
+       /** Read (a.k.a. deserialize) object from archive. */
+       void read_archive(const archive_node& n, lst& syms);
 protected:
        ex derivative(const symbol & s) const;
 
@@ -112,6 +119,7 @@ protected:
        /** Expansion point */
        ex point;
 };
+GINAC_DECLARE_UNARCHIVER(pseries); 
 
 
 // utility functions