On 26/08/2008, at 2:12 PM, William Stein wrote:
>> I actually don't understand this. For both pynac and the existing >> maxima link, I think you must already have some method of >> transforming >> a python object to and from lisp-like expressions. > > Pynac works with objects that are simply expression trees constructed > directly from native Python objects. Literally, if you type, e.g., > > sage: S = var('x',ns=1).parent() # new symbolic ring > sage: foo = S(any_crazy_element_you_can_think_of_in_Sage)^3 + 17 > > then Pynac constructs an expression tree with a *pointer* in memory > to that any_crazy_element_you_can_think_of_in_Sage. This pointer > setting takes a few nanoseconds. If shared memory is important to you then lisp won't do. Fair. > Moreover, because of the extreme > flexibility of any_crazy_element_you_can_think_of_in_Sage, you > can do awesome things from this point of view, which are impossible > in maxima via Sage. Cool. I will try to have a play with ginac and the combination and see if I can bend it to my Mathematica-will. D ================================== David J Philp Postdoctoral Fellow National Centre for Epidemiology and Population Health Building 62, cnr Mills Rd & Eggleston Rd The Australian National University Canberra ACT 0200 Australia T: +61 2 6125 8260 F: +61 2 6125 0740 M: 0423 535 397 W: http://nceph.anu.edu.au/ CRICOS Provider #00120C --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---