Re: [R] lsoda with arbitrary zero thresholds (with psuedo-solution)

2004-06-10 Thread Setzer . Woodrow
Dear Hank, Last question first: really, only you can say for sure if 4e-281 and 5e-11 are small enough; it depends on the units you measure your state variables in. However, this strategy cannot get the state variables to exactly 0. Obviously, you could get closer to 0.0 faster by setting

Re: [R] lsoda with arbitrary zero thresholds (with psuedo-solution)

2004-06-09 Thread Martin Henry H. Stevens
I have a new and less distressing, but potentially more interesting, problem. I realized the major flaw my old solution and now have a solution that kind of works but is rather inelegant and I think may be problematic in difficult systems. Borrowing from the lsoda example again I once again