function r8ut_mtm_test ( )

%*****************************************************************************80
%
%% r8ut_mtm_test() tests r8ut_mtm().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    03 August 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
 
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8ut_mtm_test():\n' );
  fprintf ( 1, '  r8ut_mtm() computes C = A'' * B for R8UT matrices.\n' );
 
  a = r8ut_zeros ( n, n );
  for i = 1 : n 
    for j = i : n
      a(i,j) = 1.0;
    end
  end
  r8ut_print ( n, n, a, '  The matrix A:' );

  c = r8ut_mtm ( n, a, a );
  r8ge_print ( n, n, c, '  The product C = A'' * A' );

  return
end
