]> gitweb.michael.orlitzky.com - octave.git/blob - optimization/test_functions/himmelblau1.m
Replace ##-style comments with %-style comments in all non-test code.
[octave.git] / optimization / test_functions / himmelblau1.m
1 function f = himmelblau1(x)
2 %
3 % A version of the Himmelblau function which takes a column
4 % 2-vector instead of two distinct arguments. See himmelblau.m for
5 % more information.
6 %
7 if (length(x) == 2)
8 f = himmelblau(x(1), x(2));
9 else
10 f = NA;
11 end
12 end