Description Usage Arguments Details Value References See Also Examples
Find a single root of a function of one variable within a specified interval. Brent's method.
1 |
fn |
A real function of a single variable. |
gr |
A real function of a single variable to evaluate the gradient of |
ri |
A vector of two real numbers defining the ends of the interval in which to search. |
ftrace |
TRUE if the progress of the methods is to be displayed |
meths |
A vector of character (quoted) names of methods to apply to find real roots of |
... |
Dot arguments – extra information that is needed to compute the function and gradient. |
This routine calls the rootfinder wrapper rootwrap
for each of
the named solvers.
The output is a data frame consisting of one row for each of the methods. The columns of the data frame are "root", "froot", "rtol", "iter", "fncount", and "method".
Nash, John C. (1979) Compact numerical methods: linear algebra and function minimisation. Bristol UK: Adam Hilger.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.