#7603: add methods to query representation of symbolic expressions
---------------------------+------------------------------------------------
Reporter: burcin | Owner: burcin
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.3
Component: symbolics | Keywords:
Work_issues: | Author: Burcin Erocal
Upstream: N/A | Reviewer:
Merged: |
---------------------------+------------------------------------------------
Attached patch adds `_is_symbol()`, `_is_constant()` and `_is_numeric()`
methods to `sage.symbolic.expression.Expression` objects.
These methods are just a thin wrapper around the `is_a<*>()` methods from
pynac. They should provide a straightforward interface to query the
internal representation of a symbolic expression when `.operator()`
returns None.
Some relevant discussion on sage-devel:
http://groups.google.com/group/sage-devel/msg/6323b473af195bc7
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7603>
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.