| 95 |
|
|
| 96 |
// functions overriding virtual functions from base classes |
// functions overriding virtual functions from base classes |
| 97 |
public: |
public: |
|
void print(const print_context & c, unsigned level = 0) const; |
|
| 98 |
unsigned precedence() const {return 30;} |
unsigned precedence() const {return 30;} |
| 99 |
bool info(unsigned inf) const; |
bool info(unsigned inf) const; |
| 100 |
int degree(const ex & s) const; |
int degree(const ex & s) const; |
| 173 |
// converting routines for interfacing with CLN: |
// converting routines for interfacing with CLN: |
| 174 |
numeric(const cln::cl_N &z); |
numeric(const cln::cl_N &z); |
| 175 |
|
|
| 176 |
|
protected: |
| 177 |
|
void print_numeric(const print_context & c, const char *par_open, const char *par_close, const char *imag_sym, const char *mul_sym, unsigned level) const; |
| 178 |
|
void do_print(const print_context & c, unsigned level) const; |
| 179 |
|
void do_print_latex(const print_latex & c, unsigned level) const; |
| 180 |
|
void do_print_csrc(const print_csrc & c, unsigned level) const; |
| 181 |
|
void do_print_csrc_cl_N(const print_csrc_cl_N & c, unsigned level) const; |
| 182 |
|
void do_print_tree(const print_tree & c, unsigned level) const; |
| 183 |
|
void do_print_python_repr(const print_python_repr & c, unsigned level) const; |
| 184 |
|
|
| 185 |
// member variables |
// member variables |
| 186 |
|
|
| 187 |
protected: |
protected: |