Calling Maxima $diff from java



Mohamed  Rayes <rayes.o.mohamed at gmail.com> writes:
> I am trying to call maxima functions from a java program. But, I am having
> trouble passing the correct arguments. For example What is the proper way of
> calling maxima $DIFF from java with arguments $Diff(sin(x),x). Any help with
> this will be highly appreciated. 

For us to help you, you're going to have to tell us slightly more about
your set-up. Have you got a lisp and Java loaded in the same image? In
which case, I'd guess you're on ABCL or something like that. I didn't
know that Maxima worked with ABCL, but I guess that'd be cool.

Or are you communicating through a pipe, marshalling data through
Maxima's stdin / stdout?

Something like "$Diff(sin(x),x)" will never work, since it's a mish-mash
of Maxima's inbuilt language and a mis-spelt Lisp name (should be
$DIFF). But in order for us to give you more help, you're going to have
to tell us what you've done so far.

Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130320/88e80154/attachment.pgp>;