powered by
Numerical Hessian
hessian0(f, x, args)
A list with the form of a hessian_result described in section "Hessian" of the package vignette.
hessian_result
Function to differentiate.
Vector at which to evaluate the Hessian.
List of additional arguments from the function richardson_args.
richardson_args
f = function(x) { sum(x^2) } x0 = seq(1, 10, length.out = 5) args = richardson_args() hessian0(f, x0, args) numDeriv::hessian(f, x0)
Run the code above in your browser using DataLab