Introduction - If you have any usage issues, please Google them yourself
The function/x, val, k dampnm (fun, gfun, Hesse, x0)
function: with damped Newton method for solving unconstrained problem: min f (x)
input: x0 is the initial point, fun, gfun, Hesse is the objective function value respectively, gradient, Hesse matrix function
output: x, val is approximate optimal point and the optimal value respectively, k is the number of iterations