[SciPy-dev] scipy.optimize.nonlin rewrite

Charles R Harris charlesr.harris at gmail.com
Sun Nov 30 22:23:50 EST 2008


On Sun, Nov 30, 2008 at 7:59 PM, Anne Archibald
<aarchiba at physics.mcgill.ca>wrote:

> 2008/11/30 Gideon Simpson <simpson at 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.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20081130/0b3ce148/attachment.html>


More information about the SciPy-Dev mailing list