function r8ltt_det_test ( )

%*****************************************************************************80
%
%% R8LTT_DET_TEST tests R8LTT_DET.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    17 November 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8LTT_DET_TEST\n' );
  fprintf ( 1, '  R8LTT_DET computes the determinant of an R8LTT matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  [ a, seed ] = r8ltt_random ( n, seed );

  r8ltt_print ( n, a, '  The matrix:' );
%
%  Compute the determinant.
%
  det = r8ltt_det ( n, a );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  The determinant = %g\n', det );

  return
end
