Subject: Customizing Maxima. Renaming Maxima functions
From: Sheldon Newhouse
Date: Wed, 24 Sep 2008 22:26:43 -0400
Richard Hennessy wrote:
> 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
>
>
Actually, it seems that 'kill' will remove the alias
e.g.
(%i6) display2d: false;
(%o6) false
(%i7) alias(rsum,integrate);
(%o7) [rsum]
(%i8) rsum(x^2,x);
(%o8) x^3/3
(%i9) kill(rsum);
(%o9) done
(%i10) rsum(x^2,x);
(%o10) rsum(x^2,x)
-sen