X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=optimization%2Ftest_functions%2Fwood_gradient1.m;h=bfe86f32ffda7576100a85b0d24dcc3b0d20113d;hp=eabccc94175b38fc9cb6c50757f78e4b66749122;hb=b12c6c2a4bf4cef29b2e08b743c92889505c7ed9;hpb=e1b71b4ca7cfa08ac76744a17a3778d4ccfaa7e2 diff --git a/optimization/test_functions/wood_gradient1.m b/optimization/test_functions/wood_gradient1.m index eabccc9..bfe86f3 100644 --- a/optimization/test_functions/wood_gradient1.m +++ b/optimization/test_functions/wood_gradient1.m @@ -1,9 +1,9 @@ function g = wood_gradient1(x) - ## - ## A version of the wood_gradient() function which takes a column - ## 4-vector instead of four distinct arguments. See wood_gradient.m - ## for more information. - ## + % + % A version of the wood_gradient() function which takes a column + % 4-vector instead of four distinct arguments. See wood_gradient.m + % for more information. + % if (length(x) == 4) g = wood_gradient(x(1), x(2), x(3), x(4)); else