#8174: maxima_methods wrapper for symbolic expressions
-----------------------------+----------------------------------------------
Reporter: burcin | Owner: burcin
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.3.3
Component: symbolics | Keywords:
Author: Burcin Erocal | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Changes (by burcin):
* status: needs_work => needs_review
Comment:
Replying to [comment:2 kcrisman]:
> 1. If I do type(u) (for instance), I just get 'instance' as the type,
whereas for something like t._maxima_() I get type giving a Maxima
interface element or something. Is there any way to make type(u) give
something more useful (perhaps inheriting from another class? I don't
know.).
Inheriting from `SageObject` fixed this. I also added `_repr_` and
`__reduce__` methods.
> 2. Tab-completion works great, and just like as with other Maxima things
(which means getting functions which don't actually apply, such as
triangularize, but whatever, since it's the same behavior). But one of
the doctests for it doesn't seem to work - I get [] instead of the
appropriate list. Do you have some extra initialization in your Maxima
that allows u.trigs to complete to the appropriate thing, but not
u.simplify (this is the one that returns [] for me)? I should point out
that u.simplify[tab] doesn't work either for me, so the doctest is
behaving 'correctly in that sense.
On 4.3.3.alpha1, `u.trigs` was triggering different completions for me
too. I changed the doctest to look for completions to `airy_` and
`elliptic_`. The output of these is less likely to change between maxima
versions. I don't know why tab completion with `simplify` doesn't work for
you, perhaps this was related to #8223.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8174#comment:3>
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.