X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fpower.h;h=4fdbf44d593f9841234ccf5938e71168f02b7a7d;hp=f808f97f44ed2fefe2c36ab53ea0435f88d16044;hb=eefedc70f63222beca918a3df89cabac700df1eb;hpb=0f7b8280ad89fa88a0cbaab7785a4b7cb06e6a63 diff --git a/ginac/power.h b/ginac/power.h index f808f97f..4fdbf44d 100644 --- a/ginac/power.h +++ b/ginac/power.h @@ -48,7 +48,6 @@ public: // functions overriding virtual functions from base classes public: - void print(const print_context & c, unsigned level = 0) const; unsigned precedence() const {return 60;} bool info(unsigned inf) const; size_t nops() const; @@ -78,6 +77,13 @@ protected: // non-virtual functions in this class protected: + void print_power(const print_context & c, const char *powersymbol, const char *openbrace, const char *closebrace, unsigned level) const; + void do_print_dflt(const print_dflt & c, unsigned level) const; + void do_print_latex(const print_latex & c, unsigned level) const; + void do_print_csrc(const print_csrc & c, unsigned level) const; + void do_print_python(const print_python & c, unsigned level) const; + void do_print_python_repr(const print_python_repr & c, unsigned level) const; + ex expand_add(const add & a, int n) const; ex expand_add_2(const add & a) const; ex expand_mul(const mul & m, const numeric & n) const;