Atoms of an expression

Dr. Vassilis S. Vassiliadis vsv20 at cheng.cam.ac.uk
Mon Jun 9 17:17:54 CEST 2003


How is it possible to get GiNaC to yield all the 
atoms occuring in an expression? (i.e. return a
list of all the leaves of the expression tree).

This is of interest in the generation of sparse 
jacobian / hessian matrices as one example of 
applications.

Vassilis

-----------------------------------------------------------------
Dr. Vassilis S. Vassiliadis,
Lecturer,

UNIVERSITY OF CAMBRIDGE,
DEPARTMENT OF CHEMICAL ENGINEERING

Pembroke Street, 
Cambridge CB2 3RA, UK.

e-mail: vsv20 at cheng.cam.ac.uk

-----------------------------------------------------------------








-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cebix.net/pipermail/ginac-list/attachments/20030609/53cbeb0c/attachment.html


More information about the GiNaC-list mailing list