#13655: anonymous symbols lose their identity when passed through maxima
-----------------------------+----------------------------------------------
Reporter: tkluck | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone: sage-5.5
Component: symbolics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------+----------------------------------------------
Comment (by nbruin):
Replying to [comment:4 burcin]:
> `SR.symbol()` is intended to return uninterned symbols when called
without an argument. In the source, you will see that there is a branch
`if name is None:` where `pynac_symbol_registry[name] = e` is not called.
My intention was to let the user create symbolic variables without the
risk of picking the name of a variable used in the input.
Maxima (or lisp for that matter) does have uninterned symbols as well. You
won't recognize them from their string representation, though (unless you
introduce a naming convention). However, if upon creation you store an
attribute on them, you can still identify them as "uninterned" and create
the corresponding uninterned symbol in Pynac as well. For the binary
libmaxima interface this is pretty straightforward. For string-based (and
there is really not much reason anymore to keep using that for calculus
other than laziness for moving the remaining routines over) it's a little
trickier.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13655#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.