GiNaC/ginac print.h ...
Pearu Peterson
pearu at cens.ioc.ee
Sun Apr 8 18:17:50 CEST 2001
On Sat, 7 Apr 2001, Christian Bauer wrote:
> The traverse() function needs further refinement because some classes have
> additional properties that are not accessible via op() (the most noticable
Indeed, in addition I had to use intermediate classes (that implement
some `inline const * & get_*(void) const;' methods) to get the following
protected members (in order to use them in a function for Python output
format):
basic::precedence
pseries::seq
pseries::var
pseries::point
relational::o
expairseq::seq
expairseq::overall_coeff
Some of them can be determined indirectly (e.g. relational::o -- by
info method, basic::precedence -- look-the-source), some not
(e.g. pseries::var).
It would be great if GiNaC could provide the corresponding getters. If
not, not a problem -- one can use varios work-arounds.
Regards,
Pearu
More information about the GiNaC-devel
mailing list