rk (runge-kutta) of dynamics package really slow?



Hi Joachim,
I have just uploaded a new version of rk, which is about 7 times faster
than the previous one.
You can safely replaced your current version by the one found in:

http://maxima.cvs.sourceforge.net/*checkout*/maxima/maxima/share/dynamics/dynamics.mac?revision=1.2

To find out where it should go in your system, look at the output of:

load("dynamics");

which will tell you where "dynamics.mac" is being loaded from. Please
give it a try and tell me your opinion.

I removed the ev commands, as suggested by Richard Fateman. I used
functions, as proposed by Sheldon Newhouse, in a fashion that keeps
compatibility with the previous versions of rk. I also removed some
assumptions on the type of variables, so the new version should work
with either floats or big floats, as proposed by Barton Willis.

In the next days I will try other improvements using lisp.

Regards,
Jaime Villate