2009/5/17 Ondrej Certik <ond...@certik.cz>

>
> On Sun, May 17, 2009 at 12:39 PM, Vinzent Steinberg
> <vinzent.steinb...@googlemail.com> wrote:
> > 2009/5/17 Fredrik Johansson <fredrik.johans...@gmail.com>
> >>
> >> On Sun, May 17, 2009 at 12:25 PM, Vinzent Steinberg
> >> <vinzent.steinb...@googlemail.com> wrote:
> >> > Yeah, this is what I changed in my patch. 0.001 was too small, but
> 0.01
> >> > did
> >> > the job. Shouldn't this be the default instead of 0.25?
> >>
> >> There's a tradeoff, and there are examples where 0.01 fails too...
> >
> > What's the tradeoff? 0.25 seems somewhat large to me. Do you think
> > findroot() should use Newton's method by default to avoid the problems
> > Ondrej had?
> >
> > Maybe there's some heuristic to choose a good stepsize for a given
> function.
>
> I like that secant is faster.
>
> What I don't like is that scipy works out of the box, while mpmath doesn't.


I just added Newton's method to mpmath svn, so it now should also work out
of the box, if you are using method='newton'.

Vinzent

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to