![](https://secure.gravatar.com/avatar/14577d49b8c9ee623b1cbab3c41fb4f0.jpg?s=120&d=mm&r=g)
17 Nov
2008
17 Nov
'08
11:38 p.m.
Why signature of func in odeint is swapped (y,t0 -> t0,y) with respect to func in ode ? It would be nice to have same signature in order to be able to play with both of them more transparently. Details from docstrings: scipy.integrate.odeint: ---- Inputs: func -- func(y,t0,...) computes the derivative of y at t0. ---- scipy.integrate.ode: ---- where f and jac have the following signatures: def f(t,y[,arg1,..]): return <f(t,y)> ---- Is there a reason for this or is it just a little defect? Regards, Emanuele