Subject: Customizing Maxima. Renaming Maxima functions
From: Richard Fateman
Date: Wed, 24 Sep 2008 17:24:03 -0700
try
:lisp (setf (symbol-function '$rsum)(symbol-function '$integrate))
:lisp (unintern '$integrate)
While this accomplishes what you asked for, it is unlikely that this
makes sense for you to do.
Oh, you can restore the name by ..
:lisp (setf (symbol-function '$integrate) (symbol-function '$rsum))
This will not work for items in Maxima that are more than functions.
For example, $cos has various property that would have to be moved if
you renamed it $cosinus.
There is also a command called alias( ..)
RJF
> -----Original Message-----
> From: maxima-bounces at math.utexas.edu
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of Richard Hennessy
> Sent: Wednesday, September 24, 2008 5:08 PM
> To: Maxima List
> Subject: Customizing Maxima. Renaming Maxima functions
>
> Dear List,
>
> I would like to rename some Maxima commands somehow. By
> rename I literally mean rename, the old name won't work anymore
> after it is done. e.g. I would like to change "integrate"
> to "rsum" for example. So rsum(x^2,x) will return 1/3*x^3
> and rsum(x^2,x,0,1) will return 1/3 and also all error
> messages would be the same as if rsum were integrate. Can
> someone help me? Also undoing this would be good to know too
> so I can change the name in a block and then change it
> back at the end of the block for example.
>
> Thanks,
>
> Rich
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>