-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bracketed Halley? #359
Comments
of course, you could generalize and say that any method that does not use brackets could be generalized into a bracketed method, something like |
Does this do what you need: https://github.com/JuliaMath/Roots.jl/blob/master/src/Derivative/lith.jl#L291 I would think that algorithm could be tweaked to include the second derivative, if needed. |
That seems like the generalization of what I need hahah. It would be great if it available |
This is Chebyshev, not Halley, but if you really need Halley it could be adjusted in a few lines. I'm not sure it is worth including, but perhaps if you like this you could convince me otherwise.
|
Seems excelent!, to be fair, the bracketed halley is used because a) we know the second derivatives of the problem, b) the solution has a clear bracket. Apart from that, there isn't any real preference for the second order method other than "Halley uses second derivatives". I'm gonna try that code posted here. |
the method seems to pass the tests given by the package. in what concerns this issue, the code posted above would fill a hole (niche hole, but a hole either way), but i can use that code directly if this does not appear in a release |
I think I can do something to add this in. I'll keep the issue open for awhile. |
Hi, i'm in need of a "bracketed halley" method. basically something like:
is any method available in Roots.jl to do this?
The text was updated successfully, but these errors were encountered: