function r8lt_mtm_test ( )

%*****************************************************************************80
%
%% r8lt_mtm_test() tests r8lt_mtm().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    24 August 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8LT_MTM_TEST():\n' );
  fprintf ( 1, '  R8LT_MTM computes C = A'' * B for R8LT matrices.\n' );
 
  a = r8lt_zeros ( n, n );
  for i = 1 : n 
    for j = 1 : i
      a(i,j) = 1.0;
    end
  end
  r8lt_print ( n, n, a, '  The matrix A:' );

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

  return
end
