]> www.ginac.de Git - ginac.git/blobdiff - ginac/pseries.h
Fixed bug in binomial(). binomial(n,0) erroneously returned 0.
[ginac.git] / ginac / pseries.h
index ed266c498072ffe36e6fe684f7689302ebde23dd..e84cc5b3ae54c1349c63298bc0cb73e9b66efe9e 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to class for extended truncated power series. */
 
 /*
- *  GiNaC Copyright (C) 1999-2007 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
@@ -59,6 +59,11 @@ public:
        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;
 
@@ -114,6 +119,7 @@ protected:
        /** Expansion point */
        ex point;
 };
+GINAC_DECLARE_UNARCHIVER(pseries); 
 
 
 // utility functions