function f = twonorm(v)
% twonorm: Computes ||v||_2

f = sqrt(sum(abs(v(:)).^2));
    
%
% Copyright (c) 2006. Yaakov Tsaig
%  

%
% Part of SparseLab Version:100
% Created Tuesday March 28, 2006
% This is Copyrighted Material
% For Copying permissions see COPYING.m
% Comments? e-mail sparselab@stanford.edu
%
