function r8ut_det_test ( )

%*****************************************************************************80
%
%% r8ut_det_test() tests r8ut_det().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    18 August 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
 
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8ut_det_test():\n' );
  fprintf ( 1, '  r8ut_det() computes the determinant of an R8UT matrix.\n' );

  a = r8ut_random ( n, n );

  r8ut_print ( n, n, a, '  The matrix A:' );
%
%  Compute the determinant.
%
  det = r8ut_det ( n, a );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Determinant is %g\n', det );

  return
end
