function r8vm_sl_test ( )

%*****************************************************************************80
%
%% R8VM_SL_TEST tests R8VM_SL.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 August 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VM_SL_TEST\n' );
  fprintf ( 1, '  R8VM_SL solves a Vandermonde system.\n' );
%
%  Set the matrix.
%
  [ a, seed ] = r8vm_random ( n, n, seed );
%
%  Set the desired solution.
%
  x = r8vec_indicator1 ( n );
%
%  Compute the corresponding right hand side.
%
  b = r8vm_mv ( n, n, a, x );
%
%  Solve the linear system.
%
  [ x, info ] = r8vm_sl ( n, a, b );

  r8vec_print_some ( n, x, 1, 10, '  Solution:' );
 
  return
end
