X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fexpairseq.h;h=1320272a2c6e6ed7c05d3c6e12580333bdbcfee2;hp=a3cd416e1efa860ab07fee010bd5af6c414ddff3;hb=d71be995fcb751b52145eb0e50467d15fea541cb;hpb=619d77d2676f7f1a562fb9fefc0ba6754fe2d750 diff --git a/ginac/expairseq.h b/ginac/expairseq.h index a3cd416e..1320272a 100644 --- a/ginac/expairseq.h +++ b/ginac/expairseq.h @@ -3,7 +3,7 @@ * Interface to sequences of expression pairs. */ /* - * GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2010 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 @@ -20,18 +20,18 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __GINAC_EXPAIRSEQ_H__ -#define __GINAC_EXPAIRSEQ_H__ - -#include -#include -#include -// CINT needs to work properly with and -#include +#ifndef GINAC_EXPAIRSEQ_H +#define GINAC_EXPAIRSEQ_H #include "expair.h" #include "indexed.h" +// CINT needs to work properly with and +#include +#include +#include +#include + namespace GiNaC { /** Using hash tables can potentially enhance the asymptotic behaviour of @@ -84,10 +84,13 @@ public: ex eval(int level=0) const; ex to_rational(exmap & repl) const; ex to_polynomial(exmap & repl) const; - bool match(const ex & pattern, lst & repl_lst) const; + bool match(const ex & pattern, exmap& repl_lst) const; ex subs(const exmap & m, unsigned options = 0) const; ex conjugate() const; bool is_polynomial(const ex & var) const; + + void archive(archive_node& n) const; + void read_archive(const archive_node& n, lst& syms); protected: bool is_equal_same_type(const basic & other) const; unsigned return_type() const; @@ -228,4 +231,4 @@ class make_flat_inserter } // namespace GiNaC -#endif // ndef __GINAC_EXPAIRSEQ_H__ +#endif // ndef GINAC_EXPAIRSEQ_H