On Wed, Mar 17, 2010 at 10:47 PM, Nick Alexander <ncalexan...@gmail.com> wrote:
> At the time I worked with this code, which was several months ago, there was
> no public interface for crawling the structures.  Testing for whether one
> was looking at a sage value (meaning something with a parent) versus a
> function application versus a derivative was really hard.  When you have one
> very general "expr" class, how else do you determine if you're looking at an
> indefinite integral?  (Or an addition, for that matter?)

You can traverse the structure with operator and operands.  For
example, everything in sage.symbolic.expression_conversions just walks
the structure and does stuff based on that.

--Mike

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to