]> www.ginac.de Git - ginac.git/blobdiff - ginac/symbol.h
- The default implementations of evalf(), diff(), normal() and expand() use
[ginac.git] / ginac / symbol.h
index 69d9b9eefdc41a9425b155c091b3420ea919d462..9bbf3f2eb126ab3624a3c5f9db68defa18afd271 100644 (file)
@@ -75,12 +75,12 @@ public:
        basic * duplicate() const;
        void print(const print_context & c, unsigned level = 0) const;
        bool info(unsigned inf) const;
-       ex expand(unsigned options = 0) const;
        bool has(const ex & other) const;
        int degree(const ex & s) const;
        int ldegree(const ex & s) const;
        ex coeff(const ex & s, int n = 1) 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;