X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=optimization%2Ftest_functions%2Fpowell_gradient.m;h=835f3faec60cc7d3f139035e0decfc8be43c6bdb;hp=7cea917937e5e8f2cb176c63e5161c5ed33e85f2;hb=b12c6c2a4bf4cef29b2e08b743c92889505c7ed9;hpb=e1b71b4ca7cfa08ac76744a17a3778d4ccfaa7e2 diff --git a/optimization/test_functions/powell_gradient.m b/optimization/test_functions/powell_gradient.m index 7cea917..835f3fa 100644 --- a/optimization/test_functions/powell_gradient.m +++ b/optimization/test_functions/powell_gradient.m @@ -1,8 +1,8 @@ function g = powell_gradient(x1,x2,x3,x4) - ## - ## The gradient of the Powell function. See powell.m for more - ## information. - ## + % + % The gradient of the Powell function. See powell.m for more + % information. + % f_x1 = 40*(x1 - x4)^3 + 2*x1 + 20*x2; f_x2 = 4*(x2 - 2*x3)^3 + 20*x1 + 200*x2; f_x3 = -8*(x2 - 2*x3)^3 + 10*x3 - 10*x4;