function H = powell_hessian(x1, x2, x3, x4)
- ##
- ## The Hessian of the Powell function. See powell.m for more
- ## information.
- ##
+ %
+ % The Hessian of the Powell function. See powell.m for more
+ % information.
+ %
H = zeros(4,4);
H(1,1) = 120*(x1 - x4)^2 + 2;