X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=optimization%2Ftest_functions%2Fextended_powell1.m;h=2a53f8945cc72b44ca6280e04a4e58b0c662e44d;hp=2b1da25003990e21bb91657f1dae8ce6ad085590;hb=b12c6c2a4bf4cef29b2e08b743c92889505c7ed9;hpb=30c26967dbc89131a09979fa8937eac0ef7a73b4 diff --git a/optimization/test_functions/extended_powell1.m b/optimization/test_functions/extended_powell1.m index 2b1da25..2a53f89 100644 --- a/optimization/test_functions/extended_powell1.m +++ b/optimization/test_functions/extended_powell1.m @@ -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