]> www.ginac.de Git - ginac.git/blobdiff - ginac/expairseq.h
Patches by Vladimir.
[ginac.git] / ginac / expairseq.h
index 8edda5ce460ec1479b3d55a701d215c87a80c9ce..4cfc057961e53d9356c8e811092f19de04f249b0 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to sequences of expression pairs. */
 
 /*
- *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2006 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
@@ -86,6 +86,7 @@ public:
        bool match(const ex & pattern, lst & repl_lst) const;
        ex subs(const exmap & m, unsigned options = 0) const;
        ex conjugate() const;
+       bool is_polynomial(const ex & var) const;
 protected:
        bool is_equal_same_type(const basic & other) const;
        unsigned return_type() const;
@@ -170,14 +171,6 @@ protected:
 #endif // EXPAIRSEQ_USE_HASHTAB
 };
 
-// utility functions
-
-/** Specialization of is_exactly_a<expairseq>(obj) for expairseq objects. */
-template<> inline bool is_exactly_a<expairseq>(const basic & obj)
-{
-       return obj.tinfo()==TINFO_expairseq;
-}
-
 } // namespace GiNaC
 
 #endif // ndef __GINAC_EXPAIRSEQ_H__