- explicit symbol(const std::string & initname);
-
- // functions overriding virtual functions from base classes
-public:
- basic * duplicate() const;
- void print(ostream & os, unsigned upper_precedence=0) const;
- void printraw(ostream & os) const;
- void printtree(ostream & os, unsigned indent) const;
- void printcsrc(ostream & os, unsigned type, unsigned upper_precedence=0) const;
- bool info(unsigned inf) const;
- ex expand(unsigned options=0) const;
- bool has(const ex & other) const;
- int degree(const symbol & s) const;
- int ldegree(const symbol & s) const;
- ex coeff(const symbol & s, int n = 1) const;
- ex eval(int level = 0) const;
- ex series(const relational & s, int order) const;
- ex normal(lst &sym_lst, lst &repl_lst, int level=0) const;
- ex to_rational(lst &repl_lst) const;
- ex subs(const lst & ls, const lst & lr) const;
+ void print(const print_context & c, unsigned level = 0) const;
+ bool info(unsigned inf) const;
+ ex eval(int level = 0) const;
+ ex evalf(int level = 0) const { return *this; } // overwrites basic::evalf() for performance reasons
+ ex series(const relational & s, int order, unsigned options = 0) const;
+ ex normal(lst &sym_lst, lst &repl_lst, int level = 0) const;
+ ex to_rational(lst &repl_lst) const;