23 #ifndef GINAC_WILDCARD_H 24 #define GINAC_WILDCARD_H 44 bool match(
const ex & pattern,
exmap& repl_lst)
const override;
82 #endif // ndef GINAC_WILDCARD_H
wildcard(unsigned label)
Construct wildcard with specified label.
void read_archive(const archive_node &n, lst &syms) override
Read (a.k.a.
This class acts as a wildcard for subs(), match(), has() and find().
unsigned calchash() const override
Compute the hash value of an object and if it makes sense to store it in the objects status_flags...
Archiving of GiNaC expressions.
void do_print_python_repr(const print_python_repr &c, unsigned level) const
This class is the ABC (abstract base class) of GiNaC's class hierarchy.
Context for python-parsable output.
void archive(archive_node &n) const override
Save (a.k.a.
void do_print(const print_context &c, unsigned level) const
void do_print_tree(const print_tree &c, unsigned level) const
bool haswild(const ex &x)
Check whether x has a wildcard anywhere as a subexpression.
unsigned get_label() const
unsigned label
Label used to distinguish different wildcards.
std::map< ex, ex, ex_is_less > exmap
Interface to GiNaC's light-weight expression handles.
Base class for print_contexts.
ex wild(unsigned label=0)
Create a wildcard object with the specified label.
This class stores all properties needed to record/retrieve the state of one object of class basic (or...
Lightweight wrapper for GiNaC's symbolic objects.
Wrapper template for making GiNaC classes out of STL containers.
#define GINAC_DECLARE_REGISTERED_CLASS(classname, supername)
Macro for inclusion in the declaration of each registered class.
bool match(const ex &pattern, exmap &repl_lst) const override
Check whether the expression matches a given pattern.
GINAC_DECLARE_UNARCHIVER(add)
Context for tree-like output for debugging.