Hi Stan,
On Tue, Nov 25, 2008 at 4:30 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote:
>
> 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:
You do something like this:
sage: var('a b')
(a, b)
sage: f = a*x^2+b #my symbolic function
sage: mf = maxima(f); mf
a*x^2+b
Then, things like the following will work with the conversions done
automatically:
sage: mf^2 + 2
(a*x^2+b)^2+2
--Mike
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---