#4325: CC() fails on Mathematica output
-------------------------+--------------------------------------------------
Reporter: ddrake | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.2
Component: interfaces | Resolution:
Keywords: mathematica |
-------------------------+--------------------------------------------------
Comment (by was):
The output of mathematica.eval (or in general FOO.eval) must be the string
that *system* outputs. There is absolutely no reason any coercion, e.g.,
CC(FOO.eval(...)) should ever work. This ticket as is is definitely
invalid.
However, it is fair game to want to make something like CC(FOO(...)) work.
Note that there is no eval. So this is the only thing that should work:
{{{
sage: CC(mathematica('N[BesselK[1+I, 2+ 3*I], 20]'))
}}}
Unfortunately, due to stuff not being implemented, this doesn't work
either.
Another thing that should work is
{{{
sage: a = mathematica('N[BesselK[1+I, 2+ 3*I], 20]')
sage: CC((a.Re(), a.Im()))
}}}
It doesn't, because of #4330.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4325#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---