A Maxima function for solving initial value problems with adaptive step size and error control.
Subject: A Maxima function for solving initial value problems with adaptive step size and error control.
From: Robert Dodier
Date: Sat, 29 Oct 2011 10:30:48 -0600
On 10/25/11, Panagiotis Papasotiriou <p.j.papasot at gmail.com> wrote:
> 2011/10/25 Jaime Villate <villate at fe.up.pt>
>> One thing I would change though, is the "option = value" syntax. I find it
>> confusing for the users to mix the two different option syntaxes "[option,
>> value]" and "option: value" in the same package.
The use of [foo, bar] options in plot2d is an unfortunate relic
which I won't try to change at this time, but let's keep it from
infiltrating other code.
> rk itself has no optional arguments, but other functions in dynamics.mac do.
> I have seen other packages using the "option=value" syntax, instead of
> [option,value]. Although I personally like the "option=value" syntax, this
> is indeed confusing for new users, considering that one of the most used
> functions, plot2d, adopts the "[option,value]" syntax. It depends on where
> rkf45 will be put, I guess. If rkf45 is to be included in dynamics.mac, then
> I should definitely change the syntax for optional arguments, as Jaime
> suggested. To be honest though, I think that a more appropriate place for
> putting rkf45 would be share/numeric. It's up to you anyway.
I recommend pretty strongly that you leave the foo=bar options as they are.
I don't think the location of the package matters in this respect.
best,
Robert Dodier