X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fpseries.h;h=e84cc5b3ae54c1349c63298bc0cb73e9b66efe9e;hp=ed266c498072ffe36e6fe684f7689302ebde23dd;hb=38f3143eee71d942f40ab47f5a561dc9736203fc;hpb=619d77d2676f7f1a562fb9fefc0ba6754fe2d750 diff --git a/ginac/pseries.h b/ginac/pseries.h index ed266c49..e84cc5b3 100644 --- a/ginac/pseries.h +++ b/ginac/pseries.h @@ -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