function r8ltt_mm_test ( )

%*****************************************************************************80
%
%% R8LTT_MM_TEST tests R8LTT_MM.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    17 November 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
 
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8LTT_MM_TEST\n' );
  fprintf ( 1, '  R8LTT_MM computes C = A * B for R8LTT matrices.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  seed = 123456789;
  [ a, seed ] = r8ltt_random ( n, seed );
  r8ltt_print ( n, a, '  Factor A:' );
  [ b, seed ] = r8ltt_random ( n, seed );
  r8ltt_print ( n, b, '  Factor B:' );
  c = r8ltt_mm ( n, a, b );
  r8ltt_print ( n, c, '  The product C = A * B' );

  a_ge = r8ltt_to_r8ge ( n, a );
  b_ge = r8ltt_to_r8ge ( n, b );
  c_ge = a_ge * b_ge;
  r8ge_print ( n, n, c_ge, '  The R8GE product C:' )

  return
end
