function [ x, w ] = glo ( l )

%*****************************************************************************80
%
%% glo() computes a Gauss-Legendre Odd quadrature rule.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 April 2014
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer L, the level of the rule.
%    1 <= L.
%
%  Output:
%
%    real X(N,1), the abscissas.
%
%    real W(N,1), the weights.
%
  if ( l < 1 )
    fprintf ( 1, '\n' );
    fprintf ( 1, 'GLO - Fatal error!\n' );
    fprintf ( 1, '  Illegal value of L = %d\n', l );
    error ( 'GLO - Fatal error!' );
  end
%
%  Find the order.
%
  n = glo_order ( l );
%
%  Compute the points and weights.
%
  [ x, w ] = gqu2 ( n );

  return
end
