function gen_laguerre_ss_compute_test ( )

%*****************************************************************************80
%
%% gen_laguerre_ss_compute_test() tests gen_laguerre_ss_compute().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    20 June 2015
%
%  Author:
%
%    John Burkardt
%
  alpha = 0.5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'gen_laguerre_ss_compute_test():\n' );
  fprintf ( 1, '  gen_laguerre_ss_compute() computes \n' );
  fprintf ( 1, '  a generalized Laguerre quadrature rule\n' );
  fprintf ( 1, '  using the Stroud-Secrest algorithm.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Using ALPHA = %g\n', alpha );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Index       X             W\n' );

  for n = 1 : 10

    [ x, w ] = gen_laguerre_ss_compute ( n, alpha );

    fprintf ( 1, '\n' );

    for i = 1 : n
      fprintf ( 1, '  %2d  %24.16g  %24.16g\n', i, x(i), w(i) );
    end

  end

  return
end
