[SciPy-dev] scipy.optimize.nonlin rewrite

Charles R Harris charlesr.harris@gmail....
Sun Nov 30 21:23:50 CST 2008

On Sun, Nov 30, 2008 at 7:59 PM, Anne Archibald

> 2008/11/30 Gideon Simpson <simpson@math.toronto.edu>:
> > Still no args input for inputting arguments to the function F?
> >
> > Sorry to complain, but the absence of this has put me off using these
> > routines as it would require a rewrite of much of my code.
> Why?
> Instead of
> optimize.whatever(F, args=extra)
> just use
> optimize.whatever(lambda x: F(x,extra))

Yeah, that was my thought years ago for the zeros functions. I was told no,
no, no. I'm not sure there is a good reason beyond what folks are used to.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20081130/0b3ce148/attachment.html 

More information about the Scipy-dev mailing list