Calling Maxima $diff from java



Robert Dodier <robert.dodier at gmail.com> writes:
>> Yes. See my previous message, which explains what you got wrong.
>
> What is the problem? I don't see it.

The relevant lines were probably:

  Once you've got hold of the $DIFF function, I'm also not sure that your
  two "eval" lines are going to work. You see, you haven't told the
  interpreter "I" to change the current package to MAXIMA. As such, I
  think that

     LispObject x = I.eval("'$x");

  will work by first reading the string "'$x" to the lisp form

    (QUOTE CL-USER::$X)

  and then evaluating, to get the symbol CL-USER::$X. However, you want
  the symbol MAXIMA::$X. Presumably the Interpreter object has a method to
  change package?

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/20130328/d1ed0530/attachment.pgp>;