[Maxima] speeding up runge kutta

Stavros Macrakis macrakis at alum.mit.edu
Wed May 2 09:15:09 CDT 2007


On 5/2/07, sen1 at math.msu.edu <sen1 at math.msu.edu> wrote:
>
> ...using the 'reverse list trick' which Stavros suggested...


Since my name is being mentioned, I feel bound to look over the code....

Here is a suggestion for simplifying the code:

rk_list(VF,y,step_size,NumPoints):=
       makelist(  y: rk_ode(VF,y,step_size),  i, 1, NumPoints) $

Hope this is helpful.

        -s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20070502/d18e421e/attachment.htm 


More information about the Maxima mailing list