1 function H = extended_powell_hessian1(x)
3 % The Hessian of the extended Powell function. See
4 % extended_powell1.m for more information.
6 % Since the number of arguments is variable, we take a vector
7 % instead of its individual components.
12 % 'm' below must be an integer.
20 % The extended Powell is simply a sum of Powell
28 H_k = powell_hessian(y1, y2, y3, y4);
32 H(4*(k-1) + i, 4*(k-1) + j) = ...
33 H(4*(k-1) + i, 4*(k-1) + j) + H_k(i,j);