On Jan 8, 2008 2:30 PM, James Amundson <amundson at users.sourceforge.net>
wrote:
> > Something like
> > quad_qags(f,x,a,b, epsrel=1d-8, epsabs=1d-8, limit=500)
>
> I think that's a great idea. I've wanted that for a long time. It seems
> to me that
>
> quad_qags(f,x,a,b, epsrel:1d-8, epsabs:1d-8, limit:500)
>
> (i.e., using ':' for assignment instead of '=') would be more
> consistent with the rest of the Maxima syntax.
>
Unless the function quotes its arguments (which is almost always a bad
idea), this won't work, because the ":" operator will be executed during
argument evaluation, so quad_qags will see the arguments as
[ f, x, a, b, 1d-8, 1d-8, 500 ]
that is, the keywords will be gone.
-s