Patch to make ic2 work even with i.c. 'y(x)= (fwd)
Subject: Patch to make ic2 work even with i.c. 'y(x)= (fwd)
From: Robert Dodier
Date: Mon, 2 Feb 2009 12:02:15 -0700
On 1/30/09, Christophe Deroulers
<christophe.deroulers__maxml1 at normalesup.org> wrote:
> This is a patch proposal / feature request.
>
> In brief:
> ---------
> Change subs([xa,ya],soln) to subs([ya,xa],soln) in the line 318 of the
> file share/diffequations/ode2.mac .
>
> This would allow initial conditions like 'y(x)=2 (for an O.D.E. written
> like "... + 'y(x)= 0") in addition to initial conditions like y=2 (for an
> O.D.E. written like "... + y = 0").
OK by me if we can verify that the proposed patch doesn't change
the behavior of the ODE code for existing problems.
There is a large test suite for Maxima's ODE code -- I don't know
how much (if any) calls the function touched by the patch.
Perhaps you, Christophe, can look into it and report on it.
Thanks for your interest in Maxima,
Robert Dodier