[SciPy-dev] scipy.optimize.nonlin rewrite
Charles R Harris
Sun Nov 30 21:23:50 CST 2008
On Sun, Nov 30, 2008 at 7:59 PM, Anne Archibald
> 2008/11/30 Gideon Simpson <firstname.lastname@example.org>:
> > 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.
> 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...
More information about the Scipy-dev