File: rosenbrock_hessian.m

package info (click to toggle)
cppnumericalsolvers 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: cpp: 2,694; python: 236; sh: 20; makefile: 10
file content (5 lines) | stat: -rw-r--r-- 111 bytes parent folder | download | duplicates (2)
1
2
3
4
5
function hess = rosenbrock_hessian( x )

hess = [ 1200*x(1)*x(1)-400*x(2)+1 , -400*x(1); -400*x(1) , 200];

end