Home > dal > gl_dnorm.m

gl_dnorm

PURPOSE ^

gl_dnorm - conjugate of the grouped L1 regularizer

SYNOPSIS ^

function nm=gl_dnorm(ww,blks)

DESCRIPTION ^

 gl_dnorm - conjugate of the grouped L1 regularizer

 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 % gl_dnorm - conjugate of the grouped L1 regularizer
0002 %
0003 % Copyright(c) 2009 Ryota Tomioka
0004 % This software is distributed under the MIT license. See license.txt
0005 function nm=gl_dnorm(ww,blks)
0006 
0007 nm=0;
0008 ix0=0;
0009 for kk=1:length(blks)
0010   I=ix0+(1:blks(kk));
0011   ix0=I(end);
0012   nm=max(nm, norm(ww(I)));
0013 end

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