[SciPy-User] Passing keyword argment to functions in odeint

Juan Luis Cano juanlu001@gmail....
Wed Jun 26 05:47:22 CDT 2013

On 06/26/2013 05:19 AM, Daniel Penalva wrote:
> Is it possible to pass keyword arguments to functions like
> func(x, t, K = False),
> while using odeint to integrate ?
> i have tried usual way  odeint(func, x, t, (K) ), but it did not work.

Probably because you have to pass them as a tuple



More information about the SciPy-User mailing list