function W = hmfbx4(H,Y,XMAT)
%HMFBX4 Hessian-matrix product for test FBOX4
%
%    W = hmfbx4(H,Y,XMAT);
%
%    The Hessian is H + XMAT*XMAT'

%   Copyright 1990-2004 The MathWorks, Inc.
%   $Revision: 1.4.4.2 $  $Date: 2004/07/28 04:28:55 $

W = H*Y - XMAT*(XMAT'*Y);



