swh:1:snp:4fa5ecd7b5af8b07d2a5783e15c09f1a0deccb0f
Tip revision: 5b6ee1e77c0a24b8f50d6462478cc2a5b09f5622 authored by Michael Friedlander on 26 April 2016, 15:40:32 UTC
Move webpage to UBC.
Move webpage to UBC.
Tip revision: 5b6ee1e
NormL1NN_primal.m
function p = NormL1NN_primal(x,weights)
% Non-negative L1 gauge function
p = norm(x.*weights,1);
if any(x < 0) p = Inf; end;