]> gitweb.michael.orlitzky.com - octave.git/blobdiff - optimization/test_functions/himmelblau_gradient.m
Replace ##-style comments with %-style comments in all non-test code.
[octave.git] / optimization / test_functions / himmelblau_gradient.m
index b50e7b6265879d06677b64259ad2912bb88a8eef..44b59f6e7cc3ad1bcfbf7aa7453125f4a1767ab3 100644 (file)
@@ -1,8 +1,8 @@
 function g = himmelblau_gradient(x1,x2)
 function g = himmelblau_gradient(x1,x2)
-  ##
-  ## The gradient of the Himmelblau function. See himmelblau.m for
-  ## more information.
-  ##
+  %
+  % The gradient of the Himmelblau function. See himmelblau.m for
+  % more information.
+  %
   f_x1 = 4*(x1^2 + x2 - 11)*x1 + 2*x2^2 + 2*x1 - 14;
   f_x2 = 4*(x2^2 + x1 - 7)*x2 + 2*x1^2 + 2*x2 - 22;
   g = [f_x1; f_x2];
   f_x1 = 4*(x1^2 + x2 - 11)*x1 + 2*x2^2 + 2*x1 - 14;
   f_x2 = 4*(x2^2 + x1 - 7)*x2 + 2*x1^2 + 2*x2 - 22;
   g = [f_x1; f_x2];