]> gitweb.michael.orlitzky.com - octave.git/blobdiff - optimization/test_functions/wood.m
Replace ##-style comments with %-style comments in all non-test code.
[octave.git] / optimization / test_functions / wood.m
index 3e11a40f0f915c88f52da01637c638e6dbdbfd7e..eb8b2e7983b7864565249ee743ab0a72526275c9 100644 (file)
@@ -1,9 +1,9 @@
 function f = wood(x1, x2, x3, x4)
-  ##
-  ## The Wood function. See Dennis & Schnabel, Appendix B, problem #5.
-  ## This function has a global minimum at x=(1,1,1,1) with f(x) == 0.
-  ## The suggested starting point is x0=(-3, -1, -3, -1).
-  ##
+  %
+  % The Wood function. See Dennis & Schnabel, Appendix B, problem #5.
+  % This function has a global minimum at x=(1,1,1,1) with f(x) == 0.
+  % The suggested starting point is x0=(-3, -1, -3, -1).
+  %
   f = 100*(x1^2 - x2)^2 + (x1 - 1)^2 + (x3 - 1)^2;
   f = f + 90*(x3^2 - x4)^2;
   f = f + 10.1*((x2 - 1)^2 + (x4 - 1)^2);