function r8vm_slt_test ( )

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

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VM_SLT_TEST\n' );
  fprintf ( 1, '  R8VM_SLT solves a transposed Vandermonde system.\n' );
%
%  Set the matrix.
%
  seed = 123456789;
  [ a, seed ] = r8vm_random ( n, n, seed );
%
%  Set the desired solution.
%
  x = r8vec_indicator1 ( n );
%
%  Compute the corresponding right hand side.
%
  b = r8vm_mtv ( n, n, a, x );
%
%  Solve the linear system.
%
  [ x, info ] = r8vm_slt ( n, a, b );

  r8vec_print ( n, x, '  Solution to transposed system:' );

  return
end
