X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=optimization%2Ftest_functions%2Frosenbrock_hessian.m;h=ccbb84d4ba9e6880a4613ace099210ddbf1a509f;hp=066b5aeaa5dfdf4cd44d6d0202a04d035c0a3ae8;hb=b12c6c2a4bf4cef29b2e08b743c92889505c7ed9;hpb=e1b71b4ca7cfa08ac76744a17a3778d4ccfaa7e2 diff --git a/optimization/test_functions/rosenbrock_hessian.m b/optimization/test_functions/rosenbrock_hessian.m index 066b5ae..ccbb84d 100644 --- a/optimization/test_functions/rosenbrock_hessian.m +++ b/optimization/test_functions/rosenbrock_hessian.m @@ -1,8 +1,8 @@ function H = rosenbrock_hessian(x1, x2) - ## - ## The Hessian of the Rosenbrock function. See rosenbrock.m for more - ## information. - ## + % + % The Hessian of the Rosenbrock function. See rosenbrock.m for more + % information. + % H = zeros(2,2); H(1,1) = 1200*x1^2 - 400*x2 + 2; H(1,2) = -400*x1;