]> gitweb.michael.orlitzky.com - octave.git/blobdiff - optimization/test_functions/extended_rosenbrock1.m
Replace ##-style comments with %-style comments in all non-test code.
[octave.git] / optimization / test_functions / extended_rosenbrock1.m
index 1f545207a0ff0eee5c71a0b820979fff41601382..8d0b4f841761ddbc63c0a730ed3735ba8c93f69b 100644 (file)
@@ -1,17 +1,17 @@
 function f = extended_rosenbrock1(x)
-  ##
-  ## The extended Rosenbrock function. See Dennis & Schnabel, Appendix
-  ## B, problem #1.
-  ##
-  ## This function has a minimum at x=(1,1,...,1) with f(x) == 0. The
-  ## suggested starting point is x0=(-1.2, 1,-1.2, 1,...,-1.2, 1).
-  ## Since the number of arguments is variable, we take a vector
-  ## instead of its individual components.
-  ##
+  %
+  % The extended Rosenbrock function. See Dennis & Schnabel, Appendix
+  % B, problem #1.
+  %
+  % This function has a minimum at x=(1,1,...,1) with f(x) == 0. The
+  % suggested starting point is x0=(-1.2, 1,-1.2, 1,...,-1.2, 1).
+  % Since the number of arguments is variable, we take a vector
+  % instead of its individual components.
+  %
   n = length(x);
 
   if (odd(n))
-    ## 'm' below must be an integer.
+    % 'm' below must be an integer.
     f = NA;
     return;
   end