Computes two sided (TS) approximated Hessian.
Arguments
- x
argument to be passed to fun
.
- fun
function.
- ...
additional parameters to be passed to fun
.
Author
A function borrowed from Kevin Sheppard's Matlab garch toolbox as
implemented by Alexios Ghalanos in his rgarch package.