]> gitweb.michael.orlitzky.com - octave.git/blobdiff - optimization/test_functions/extended_powell1.m
Replace ##-style comments with %-style comments in all non-test code.
[octave.git] / optimization / test_functions / extended_powell1.m
index 2b1da25003990e21bb91657f1dae8ce6ad085590..2a53f8945cc72b44ca6280e04a4e58b0c662e44d 100644 (file)
@@ -1,17 +1,17 @@
 function f = extended_powell1(x)
-  ##
-  ## The extended Powell function. See Dennis & Schnabel, Appendix B,
-  ## problem #2.
-  ##
-  ## This function has a minimum at x=(0,0,...,0) with f(x) == 0. The
-  ## suggested starting point is x0=(3, -1, 0, 1,..., 3, -1, 0, 1).
-  ## Since the number of arguments is variable, we take a vector
-  ## instead of its individual components.
-  ##
+  %
+  % The extended Powell function. See Dennis & Schnabel, Appendix B,
+  % problem #2.
+  %
+  % This function has a minimum at x=(0,0,...,0) with f(x) == 0. The
+  % suggested starting point is x0=(3, -1, 0, 1,..., 3, -1, 0, 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