* 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
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;
#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__