Opened 13 years ago
Closed 13 years ago
#7603 closed enhancement (fixed)
add methods to query representation of symbolic expressions
Reported by: | burcin | Owned by: | burcin |
---|---|---|---|
Priority: | minor | Milestone: | sage-4.3 |
Component: | symbolics | Keywords: | |
Cc: | fmaltey@… | Merged in: | sage-4.3.rc0 |
Authors: | Burcin Erocal | Reviewers: | Mike Hansen |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
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
Attachments (1)
Change History (3)
Changed 13 years ago by
comment:1 Changed 13 years ago by
- Cc fmaltey@… added
- Status changed from new to needs_review
comment:2 Changed 13 years ago by
- Merged in set to sage-4.3.rc0
- Resolution set to fixed
- Reviewers set to Mike Hansen
- Status changed from needs_review to closed
Note: See
TracTickets for help on using
tickets.
Looks good.