function Y = Norm2(X, n)
%-------------------------------
% This function compute the norm by row (or column)
% of a vector of vectors (a matrix)
%-------------------------------
Y = sqrt(sum(X .* X, n));

return;
