Home > dal > hessMultdall1.m

hessMultdall1

PURPOSE ^

hessMultdall1 - function that computes H*x for DAL with L1

SYNOPSIS ^

function yy = hessMultdall1(xx, A, eta, Hinfo)

DESCRIPTION ^

 hessMultdall1 - function that computes H*x for DAL with L1
                 regularization

 Copyright(c) 2009 Ryota Tomioka
 This software is distributed under the MIT license. See license.txt

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % hessMultdall1 - function that computes H*x for DAL with L1
0002 %                 regularization
0003 %
0004 % Copyright(c) 2009 Ryota Tomioka
0005 % This software is distributed under the MIT license. See license.txt
0006 
0007 function yy = hessMultdall1(xx, A, eta, Hinfo)
0008 
0009 hloss=Hinfo.hloss;
0010 AF=Hinfo.AF;
0011 yy = hloss*xx + eta*(AF*(AF'*xx));
0012 
0013 B=Hinfo.B;
0014 if ~isempty(B)
0015   yy = yy + eta*(B*(B'*xx));
0016 end
0017 
0018

Generated on Sat 22-Aug-2009 22:15:36 by m2html © 2003