-
Notifications
You must be signed in to change notification settings - Fork 56
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
xtol not honored in fzero #67
Comments
The furrow function with the default order switches to bisection if possible |
Is there a specific reason why |
Well, because xtol is usually used as a necessary stopping rule, but in this case of Float64 we can stop when we run out of bits to subdivide. The only method that doesn't respect |
If there is no fundamental reason why bisection on Float64 should not respect In my application, the evaluation of the function is painfully long and I am fine with 3 digits of accuracy. Having to simply specify the pass the tolerance to |
I don't have an objection, as long as the default in this case is
`xtol=0.0` for that stopping rule isn't needed in this case. However, you
might just consider passing a different order into the function call. The
default is meant to be more robust to the initial condition at the expense
of being a bit slower, but many of the orders are reasonable robust to
begin with.
…On Thu, Apr 27, 2017 at 3:15 AM, Michele Zaffalon ***@***.***> wrote:
If there is no fundamental reason why bisection on Float64 should not
respect xtol and if you have no objections, I would like to take a shot
at adding it.
In my application, the evaluation of the function is painfully long and I
am fine with 3 digits of accuracy. Having to simply specify the pass the
tolerance to fzero would be very convenient.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZvTMDNCDgpHQ2RSUfFlEP8WfLqd18qks5r0ECfgaJpZM4M7Bno>
.
--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
[email protected]
|
I cannot seem to be able to set some of
fzero
's keyword parameters, e.g.xtol
andmaxeval
In both cases, there are 65 function evaluations and the root is found to full precision.
The same seems to hold for
find_zero
.BTW, what functions are called? There is no line information with
@which
:The text was updated successfully, but these errors were encountered: