#9329: Improve documentation of how to access parts of the expression tree of a
symbolic expression
---------------------------+------------------------------------------------
Reporter: kcrisman | Owner: burcin
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.5
Component: symbolics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Old description:
> {{{
> sage: var('n')
> n
> sage: g=e^((n*pi-pi*2))
> }}}
> But there doesn't seem to be an easy (i.e. not via `fast_callable`) way
> to access the underlying expression tree.
New description:
{{{
sage: var('n')
n
sage: g=e^((n*pi-pi*2))
}}}
The desire is to have clear documentation on how to apply (e.g.) factor()
to just some piece of this, such as the exponent.
--
Comment(by kcrisman):
Well, this seems very reasonable; I certainly wouldn't have ever figured
out the way you do it in that thread. This probably belongs either at the
top of one of expression.pyx or in the documentation for
SymbolicExpression, huh? It would be nice to do an example with
simplification as well as substitution.
Changing ticket summary
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9329#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.