We look for maxima of the underlying function by looking for zeros of its derivative. In general, there is either one maximum, or two maxima and one minimum In latter case, one half of space contains the single higher valued maximum, while other half of space contains a minimum near the endpoint and a maximum further away. So we find maximum in upper half, and in the lower half, we look for minimum of criterion function to check if the minima/maxima crossing points exist; if they do, we find them.
1 2 3 4 5 6 7 8 9 10 11 | search.brid.regular(
f.n,
f.f,
upperzero.int,
loweroptim.int,
lowerzero.end,
mid,
Mp0,
eps = 1e-06,
...
)
|
f.n |
normal criterion function |
f.f |
fallback criterion function |
upperzero.int |
interval containing higher value zero |
loweroptim.int |
interval containing function minimum in lower half |
lowerzero.end |
endpoint of interval containing lower zero |
mid |
midpoint |
Mp0 |
crossing point of Mp (derivative of mean term) function component |
eps |
unnecessary argument? |
... |
additional arguments to criterio function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.