* Interface to GiNaC's ABC. */
/*
- * GiNaC Copyright (C) 1999-2016 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2019 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
/** Degenerate base class for visitors. basic and derivative classes
* support Robert C. Martin's Acyclic Visitor pattern (cf.
- * http://objectmentor.com/publications/acv.pdf). */
+ * http://condor.depaul.edu/dmumaugh/OOT/Design-Principles/acv.pdf
+ * or chapter 10 of Andrei Alexandrescu's "Modern C++ Design"). */
class visitor {
protected:
virtual ~visitor() {}
// evaluation
virtual ex eval() const;
- virtual ex evalf(int level = 0) const;
+ virtual ex evalf() const;
virtual ex evalm() const;
virtual ex eval_integ() const;
protected:
virtual ex series(const relational & r, int order, unsigned options = 0) const;
// rational functions
- virtual ex normal(exmap & repl, exmap & rev_lookup, int level = 0) const;
+ virtual ex normal(exmap & repl, exmap & rev_lookup) const;
virtual ex to_rational(exmap & repl) const;
virtual ex to_polynomial(exmap & repl) const;
// global variables
-extern int max_recursion_level;
-
// convenience type checker template functions