#4948: implement the transfer of Mathematica lists back to Sage
-------------------------+--------------------------------------------------
 Reporter:  mabshoff     |        Owner:  cwitty  
     Type:  enhancement  |       Status:  new     
 Priority:  major        |    Milestone:  sage-3.3
Component:  misc         |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by mabshoff):

 * cc: jason (added)

Comment:

 Jason comments:
 {{{
 These are not the right way to do this, but they seem to give results
 for right now, at least until someone fixes this:

 sage: a=mathematica([1,2,3])
 sage: [a[i] for i in range(1,a.Length()+1)]
 [1, 2, 3]

 Or

 sage: a=mathematica(slist)
 sage: a._Expect__sage_list
 [1, 2, 3]
 }}}

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4948#comment:1>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to