]> gitweb.michael.orlitzky.com - octave.git/blobdiff - optimization/test_functions/rosenbrock_gradient.m
Replace ##-style comments with %-style comments in all non-test code.
[octave.git] / optimization / test_functions / rosenbrock_gradient.m
index 50c4546ffffb5560891c1a3dff4abfe08423832d..2b741a407fc0d7c857fb6b1fd59c165bbe0c4d79 100644 (file)
@@ -1,8 +1,8 @@
 function g = rosenbrock_gradient(x1, x2)
-  ##
-  ## The gradient of the Rosenbrock function. See rosenbrock.m for more
-  ## information.
-  ##
+  %
+  % The gradient of the Rosenbrock function. See rosenbrock.m for more
+  % information.
+  %
   f_x1 = -400*x1*(x2 - x1^2) + 2*x1 - 2;
   f_x2 = 200*(x2 - x1^2);
   g = [f_x1; f_x2];