function value = r8vec_norm_l1 ( n, a )

%*****************************************************************************80
%
%% r8vec_norm_l1() returns the L1 norm of an R8VEC.
%
%  Discussion:
%
%    The vector L1 norm is defined as:
%
%      value = sum ( 1 <= I <= N ) abs ( A(I) ).
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 April 2005
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of entries in A.
%
%    real A(N), the vector whose L1 norm is desired.
%
%  Output:
%
%    real VALUE, the L1 norm of A.
%
  value = sum ( abs ( a(1:n) ) );

  return
end
