You can use optional arguments:
(%i4) pdesolve(pde, u, [bc]) := bc;
(%o4) pdesolve(pde,u,[bc]):=bc
(%i5) pdesolve(a,b);
(%o5) []
(%i6) pdesolve(a,b, 1, 2, 3);
(%o6) [1,2,3]
HTH,
Andrej
On Wed, Nov 5, 2008 at 11:12 AM, nijso beishuizen
<n.a.beishuizen at ctw.utwente.nl> wrote:
> Hello,
>
> Is it possible to do function overloading in maxima?
> I have the function pdesolve(pde,u(x,y)),
> but in case I know boundary conditions, I also want to supply it with the bc:
> pdesolve(pde,u(x,y), bc)
>
> Best regards,
> Nijso
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima