Dear all,
I have asked this question in other contexts but never found an
answer, so I thought I start a new thread.
I would like to be able to pass a symbolic function derived in sage to
python (or maxima or any other system) without having to spell it out
again. Here is what I tried:
var('a b')
f = a*x^2+b #my symbolic function
maxima.eval('f')
'f'
This works of course:
maxima.eval('a*x^2+b')
'a*x^2+b'
Is there a way of doing this without re-typing the function?
Cheers
Stan
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---