Description Usage Arguments Details Value
View source: R/numDeriv_helpers.R View source: R/numDeriv.R
Numerical derivative of one-d function defined on R.
1 2 3 4 5 6 7 8 | num.deriv(ftn, var, delta = 0.001, ...)
genDoneSided(func, x, sides, method = "Richardson",
method.args = list(eps = 1e-04,
d = 1e-04, zero.tol = sqrt(.Machine$double.eps/7e-07), r = 4,
v = 2), ...)
hessianOneSided(func, x, sides, method = "Richardson", method.args = list(eps = 1e-04,
d = 1e-04, zero.tol = sqrt(.Machine$double.eps/7e-07), r = 4,
v = 2), ...)
|
ftn, func |
A (differentiable) function defined on R. |
var,x |
Value(s) at which to differentiate. x can be vector. |
sides |
of length equal to x; +1 is differentiate from above -1 from below. |
method |
see numDeriv package docs |
method.args |
see numDeriv package docs |
delta |
Small number defining accuracy of numeric derivative. |
... |
See the 'numDeriv' package from whence the genD function and hessian function come. The versions here are one-sided adapatations of the originals from that package.
Real number.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.