hessian(func, x, method="Richardson", method.args=list(), ...) ## S3 method for class 'default':
hessian(func, x, method="Richardson",
method.args=list(eps=1e-4, d=0.1,
zero.tol=sqrt(.Machine$double.eps/7e-7), r=4, v=2), ...)
"Richardson" or "simple" indicating
the method to use for the aproximation.grad.
(Arguments not specified remain with their default values.)func.x.hessian calculates an numerical aproximation to
the n x n second derivative of a scalar real valued function with n-vector
argument. It uses genD and extracts the second derivative.jacobian,
grad,
genD