Searches the interval from lower to upper for all roots of a function f with respect to its first argument. Based on rootSolve::uniroot.all.
1 2 3 4 5 6 7 8 9 10 11 |
f |
The function for which the root is sought.. |
interval |
A vector containing the end-points of the interval to be searched for the root. |
lower |
Lower end point of interval. |
upper |
Upper end point of interval. |
tol |
Desired accuracy of root |
maxiter |
Maximum number of iterations |
trace |
Integer number passed to function uniroot. If positive, tracing information is produced. Higher values giving more details. |
n |
Number of subintervals in which the root is sought. |
... |
Additional named or unnamed arguments to be passed to f. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.