Customizing Maxima. Renaming Maxima functions



Thanks,

That should do it.  Now I just have to change my code to use lists as input using the syntax 

integrate(e,x,[v]):=block(

...
)$

I will let you know if it works.

Rich

----- Original Message ----- 
From: "Richard Fateman" <fateman at cs.berkeley.edu>
To: "'Richard Hennessy'" <rvh2007 at comcast.net>; "'Maxima List'" <maxima at math.utexas.edu>
Sent: Thursday, September 25, 2008 12:52 PM
Subject: RE: [Maxima] Customizing Maxima. Renaming Maxima functions


try
f([a]):=a;

f(1,2,3);
f(1,2);
 

> -----Original Message-----
> From: maxima-bounces at math.utexas.edu 
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of Richard Hennessy
> Sent: Thursday, September 25, 2008 9:42 AM
> To: 'Maxima List'
> Subject: Re: [Maxima] Customizing Maxima. Renaming Maxima functions
> 
> Thanks,
> 
> I think this actually is what I want.  I have just one more 
> question, I hope.  How can you define in Maxima a function 
> called let's say
> 
> foo(e, x)
> 
> and also have it work for three arguments
> 
> foo(e, x, a, b)