GiNaC/ginac ex.h
Christian Bauer
cbauer at thep.physik.uni-mainz.de
Fri Sep 5 17:58:11 CEST 2003
Update of /home/cvs/GiNaC/ginac
Modified Files:
ex.h
Log Message:
Improved the pre-/postorder iterators: They visit the root node and are now
only marginally slower than a recursive function like traverse(). The only
remaining problem is that for an expression consisting of only one primitive
object, ex::begin() and ex::end() return the same value, so the iteration
immediately stops without visiting the one existing node. We probably need
special versions of begin()/end() for creating pre-/postorder iterators after
all.
More information about the GiNaC-cvs
mailing list