/[GiNaC]/ginac/add.h
ViewVC logotype

Diff of /ginac/add.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.40 by cbauer, Mon Jul 21 15:15:59 2003 UTC revision 1.41 by cbauer, Thu Aug 14 14:41:58 2003 UTC
# Line 45  public: Line 45  public:
45    
46          // functions overriding virtual functions from base classes          // functions overriding virtual functions from base classes
47  public:  public:
         void print(const print_context & c, unsigned level = 0) const;  
48          unsigned precedence() const {return 40;}          unsigned precedence() const {return 40;}
49          bool info(unsigned inf) const;          bool info(unsigned inf) const;
50          int degree(const ex & s) const;          int degree(const ex & s) const;
# Line 73  protected: Line 72  protected:
72                                                 const ex & c) const;                                                 const ex & c) const;
73          ex recombine_pair_to_ex(const expair & p) const;          ex recombine_pair_to_ex(const expair & p) const;
74          ex expand(unsigned options=0) const;          ex expand(unsigned options=0) const;
75    
76            // non-virtual functions in this class
77    protected:
78            void print_add(const print_context & c, const char *openbrace, const char *closebrace, const char *mul_sym, unsigned level) const;
79            void do_print(const print_context & c, unsigned level) const;
80            void do_print_latex(const print_latex & c, unsigned level) const;
81            void do_print_csrc(const print_csrc & c, unsigned level) const;
82            void do_print_python_repr(const print_python_repr & c, unsigned level) const;
83  };  };
84    
85  // utility functions  // utility functions

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15