[SciPy-user] why signature of func in odeint != ode ?

Pauli Virtanen pav@iki...
Mon Nov 17 13:03:33 CST 2008


Mon, 17 Nov 2008 17:38:06 +0100, Emanuele Olivetti wrote:
> Why signature of func in odeint is swapped (y,t0 -> t0,y) with respect
> to func in ode ?

Legacy -- I'd guess the two interfaces were written by different authors.

I'm not sure if this API break can be made the moment. One possible way 
forward could be to deprecate both `ode` and `odeint` and write a new 
unified interface for LSODA, *VODE, etc.

-- 
Pauli Virtanen



More information about the SciPy-user mailing list