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-2000 The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 2000/06/16 22:24:36 $

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



