Ask for the syntax of representing operators in Common-Lisp
Subject: Ask for the syntax of representing operators in Common-Lisp
From: James Hart
Date: Wed, 12 Jul 2006 18:52:43 -0400
Hello.
I've discovered an extremely useful feature of Mathematica and I was
wondering if it exists in some form in Maxima as well. I am writing a
GUI that can use either Maxima or Mathematica as a back-end, and this
feature of Mathematica has saved me a lot of trouble and potential
bugs, and I was wondering if something similar existed in Maxima. It
could avoid some tricky problems if it did.
The feature I'm talking about is the ability Mathematica has to define
functions which are "the nth derivative of f with respect to parameter
1 in f, the mth derivative of f with respect to parameter 2 in f",
etc. For instance, Derivative[1][Sin] is Cos, and Derivative[n][Exp]
is Exp, and Derivative[1,1][ArcTan] is (#1^2-#2^2)/(#1^2+#2^2)^2 &.
This works even for functions which have not been explicitely defined
and which have no form.
Is there similar notation for such functions in maxima? So far I've
been obfuscating the function names so maxima can swallow them, and
restoring them on input, but this is less than ideal.