function r8utt_mtm_test ( )

%*****************************************************************************80
%
%% R8UTT_MTM_TEST tests R8UTT_MTM.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    01 November 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  seed = 123456789;
 
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8UTT_MTM_TEST\n' );
  fprintf ( 1, '  R8UTT_MTM computes C = A'' * B for R8UTT matrices.\n' );
 
  [ a, seed ] = r8utt_random ( n, seed );
  r8utt_print ( n, a, '  The matrix A:' );
  [ b, seed ] = r8utt_random ( n, seed );
  r8utt_print ( n, b, '  The matrix B:' );

  c = r8utt_mtm ( n, a, b );
  r8ge_print ( n, n, c, '  The product C = A'' * B:' );
%
%  Compare with an R8GE calculation.
%
  a_ge = r8utt_to_r8ge ( n, a );
  b_ge = r8utt_to_r8ge ( n, b );
  c_ge = a_ge' * b_ge;
  r8ge_print ( n, n, c_ge, '  The R8GE product C = A'' * B:' )

  return
end
