Re: [Tutor] Fwd: Re: SciPy Optimize-like calling function as string

2017-02-25 Thread Alan Gauld via Tutor
On 25/02/17 17:24, Alan Gauld via Tutor wrote: >> If you don't know that you need to optimize then your >> time is usually better spent elsewhere. Dictionaries >> are pretty fast in Python and I'd suggest you try >> that first before shaving milliseconds in places >> that may not be where you need

[Tutor] Fwd: Re: SciPy Optimize-like calling function as string

2017-02-25 Thread Alan Gauld via Tutor
Forwarding to list. Please always use reply-All or Reply-list when responding to the list. On Feb 18, 2017, at 6:21 PM, Alan Gauld via Tutor mailto:tutor@python.org>> wrote: > > On 18/02/17 21:52, Joseph Slater wrote: >> I'm trying to use the scipy.optimize code ... >> I've seen this done with di