]> gitweb.michael.orlitzky.com - octave.git/blobdiff - optimization/test_functions/rosenbrock1.m
Replace ##-style comments with %-style comments in all non-test code.
[octave.git] / optimization / test_functions / rosenbrock1.m
index 5e4df05ed8c7d6e776bd858c4ee91538b707bbf5..9aa69c63718ae0d0b72d24a65263673149f49596 100644 (file)
@@ -1,9 +1,9 @@
 function f = rosenbrock1(x)
-  ##
-  ## A version of the Rosenbrock function which takes a column
-  ## 2-vector instead of two distinct arguments. See rosenbrock.m for
-  ## more information.
-  ##
+  %
+  % A version of the Rosenbrock function which takes a column
+  % 2-vector instead of two distinct arguments. See rosenbrock.m for
+  % more information.
+  %
   if (length(x) == 2)
     f = rosenbrock(x(1), x(2));
   else