function r8lt_inverse_test ( )

%*****************************************************************************80
%
%% r8lt_inverse_test() tests r8lt_inverse().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    24 August 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8lt_inverse_test():\n' );
  fprintf ( 1, '  r8lt_inverse() computes the inverse of an R8LT matrix.\n' );

  a = r8lt_random ( n, n );

  r8lt_print ( n, n, a, '  The matrix A:' );
%
%  Compute the inverse matrix B.
%
  b = r8lt_inverse ( n, a );

  r8lt_print ( n, n, b, '  The inverse matrix B:' );
%
%  C = A * B.
%
  c = r8lt_mm ( n, a, b );

  r8lt_print ( n, n, c, '  The product C = A * B:' );

  return
end
