X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fpower.h;h=0a156545d1367802cd393e493b685e9d54106804;hp=d9748ef93adfc9590f51a666f18f204eef6a634b;hb=0917777d60656298ba44e092712c2b403bfaf559;hpb=06eb6b761f4b9d9eed4decd8ed50d94b40b94a0e diff --git a/ginac/power.h b/ginac/power.h index d9748ef9..0a156545 100644 --- a/ginac/power.h +++ b/ginac/power.h @@ -49,16 +49,19 @@ public: // functions overriding virtual functions from bases classes public: void print(const print_context & c, unsigned level = 0) const; + unsigned precedence(void) const {return 60;} bool info(unsigned inf) const; unsigned nops() const; ex & let_op(int i); + ex map(map_func f) 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; + ex evalm(void) const; ex series(const relational & s, int order, unsigned options = 0) const; - ex subs(const lst & ls, const lst & lr) const; + ex subs(const lst & ls, const lst & lr, bool no_pattern = false) const; ex normal(lst &sym_lst, lst &repl_lst, int level = 0) const; ex to_rational(lst &repl_lst) const; exvector get_free_indices(void) const; @@ -86,7 +89,6 @@ protected: protected: ex basis; ex exponent; - static unsigned precedence; }; // utility functions