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

Daniel Penalva dkajah@gmail....
Tue Jun 25 22:19:46 CDT 2013

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.

I know that it will work if i pass all the parameters in the order, but i
dont wanna to do that weird thing cause in my function i have plenty of
keyword params to use...

thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20130626/66866055/attachment.html 

More information about the SciPy-User mailing list