Patch to make ic2 work even with i.c. 'y(x)= (fwd)



> From: Robert Dodier
> 
> On 1/30/09, Christophe Deroulers 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.

There are only two tests of ic2 in the testsuite, and none in 
the share/contrib/diffequations testsuite.  I think we need 
more before we can be sure there are no adverse effects.

I haven't had time to look at this patch.  I will see what I can 
do in the next couple of weeks.

	David

This email is confidential and may also be privileged.  If you are not the intended recipient, please notify us immediately and delete this message from your system without first printing or copying it. Any personal data in this email (including any attachments) must be handled in accordance with the Rio Tinto Group Data Protection Policy and all applicable data protection laws.