X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=optimization%2Ftest_functions%2Frosenbrock_hessian1.m;fp=optimization%2Ftest_functions%2Frosenbrock_hessian1.m;h=804098ecfb1535e524b805e1be9dfe3a41768492;hp=63a105f9757cd204dccc900cce5a4647240e9a36;hb=b12c6c2a4bf4cef29b2e08b743c92889505c7ed9;hpb=e1b71b4ca7cfa08ac76744a17a3778d4ccfaa7e2 diff --git a/optimization/test_functions/rosenbrock_hessian1.m b/optimization/test_functions/rosenbrock_hessian1.m index 63a105f..804098e 100644 --- a/optimization/test_functions/rosenbrock_hessian1.m +++ b/optimization/test_functions/rosenbrock_hessian1.m @@ -1,9 +1,9 @@ function H = rosenbrock_hessian1(x) - ## - ## A version of the rosenbrock_hessian() function which takes a column - ## 2-vector instead of two distinct arguments. See rosenbrock_hessian.m - ## for more information. - ## + % + % A version of the rosenbrock_hessian() function which takes a column + % 2-vector instead of two distinct arguments. See rosenbrock_hessian.m + % for more information. + % if (length(x) == 2) H = rosenbrock_hessian(x(1), x(2)); else