[SciPy-User] Passing keyword argment to functions in odeint
Wed Jun 26 15:31:24 CDT 2013
Yah, you are right, i've done that but it not work. Sorry for my late
example, a more apropriated one is:
func(x, t, K = False, boundary = 'free', mimese = False);
and than :
odeint(func, x, t, ( K, mimese));
but it will not work as expected. It means that, in odeint, i cant ignore
some of keyword argument as in a usual function evaluation. Should this be
tagged as a bug ?
On Wed, Jun 26, 2013 at 7:47 AM, Juan Luis Cano <firstname.lastname@example.org> wrote:
> 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
> SciPy-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User