X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=optimization%2Ftest_functions%2Fwood_gradient.m;fp=optimization%2Ftest_functions%2Fwood_gradient.m;h=adf37c2a60f04d4ce48e78187866fae11b757d99;hp=eb9f3e643051d2d751faff487fda218934e5a1bf;hb=b12c6c2a4bf4cef29b2e08b743c92889505c7ed9;hpb=e1b71b4ca7cfa08ac76744a17a3778d4ccfaa7e2 diff --git a/optimization/test_functions/wood_gradient.m b/optimization/test_functions/wood_gradient.m index eb9f3e6..adf37c2 100644 --- a/optimization/test_functions/wood_gradient.m +++ b/optimization/test_functions/wood_gradient.m @@ -1,8 +1,8 @@ function g = wood_gradient(x1, x2, x3, x4) - ## - ## The gradient of the Wood function. See wood.m for more - ## information. - ## + % + % The gradient of the Wood function. See wood.m for more + % information. + % f_x1 = 400*(x1^2 - x2)*x1 + 2*x1 - 2; f_x2 = -200*x1^2 + 220.2*x2 + 19.8*x4 - 40; f_x3 = 360*(x3^2 - x4)*x3 + 2*x3 - 2;