[SciPy-user] All the roots of a function in an interval

Rob Clewley rob.clewley@gmail....
Sat Sep 29 13:23:03 CDT 2007


You can't ever know that you've found all the roots of a general
function in an interval unless you do a lot of analysis on it. I don't
think you can do better than letting the user set what they think is
the appropriate number of starting points for the types of function
they are using on the intervals that they're providing. Short answer
is no, I'm pretty sure scipy has no such thing.

On 29/09/2007, Gael Varoquaux <gael.varoquaux@normalesup.org> wrote:
> Hi,
>
> Is there a tool in scipy that will give me all the roots of a function in
> an interval? I can always make one using optimize.minpack.fslove and a
> first scan to define different starting points, but if there is one, it
> would be sweet.
>
> Cheers,
>
> Gaël
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-user mailing list