On 7/10/12 5:13 PM, Barton Willis wrote:
>> My question is: Am I guaranteed that reverse(args( ... )) is the correct order?
>
> For addition and assuming that the option variable display_format_internal is false, the answer is yes.
> The function inpart might be useful to you--to read the user documentation, enter ?? inpart. Also, to print
> the internal representation of an expression, try the CL function print--either
>
> (%i7) e : a + b + 42 * z;
> (%o7) 42*z+b+a
>
> (%i8) :lisp(print $e)
Nothing really to add, but it's less typing to do
:lisp $e
if you know the name of the variable and remember that all maxima
variables are prefixed with a $ in lisp.
Ray