[SciPy-user] optimize.bisect

Nils Wagner nwagner@iam.uni-stuttgart...
Mon Nov 10 08:18:57 CST 2008

On Mon, 10 Nov 2008 09:10:01 -0500
  Alan G Isaac <aisaac@american.edu> wrote:
> On 11/10/2008 8:51 AM Nils Wagner apparently wrote:
>> how can I use optimize.bisect if the function f is only 
>> given at discrete points instead of a continuous 
>> like sin(x) ?
> Do you have the points ``x``?
> Then shouldn't you just take
> x[np.argmin(np.abs(f(x)))]?
> What is the point of using an algorithm
> designed for continuous functions?
> Alan Isaac
Hi Alan,

Thank you very much. I have overlooked your approach.


More information about the SciPy-user mailing list