]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.h
Added complex conjugation methods and GiNaC function "conjugate".
[ginac.git] / ginac / relational.h
index cbe51468eeb9691199a10c79d59a4bb41c8986cd..a6727de194810f287328fd31c1160ff9c7f8f830 100644 (file)
@@ -51,7 +51,6 @@ public:
        
        // functions overriding virtual functions from base classes
 public:
-       void print(const print_context & c, unsigned level = 0) const;
        unsigned precedence() const {return 20;}
        bool info(unsigned inf) const;
        size_t nops() const;
@@ -68,6 +67,10 @@ protected:
        unsigned calchash() const;
 
        // new virtual functions which can be overridden by derived classes
+protected:
+       void do_print(const print_context & c, unsigned level) const;
+       void do_print_python_repr(const print_python_repr & c, unsigned level) const;
+
 public:
        virtual ex lhs() const;
        virtual ex rhs() const;