function ratmat_print_test ( )

%*****************************************************************************80
%
%% RATMAT_PRINT_TEST tests RATMAT_PRINT.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    31 May 2015
%
%  Author:
%
%    John Burkardt
%
  m = 4;
  n = 3;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'RATMAT_PRINT_TEST\n' );
  fprintf ( 1, '  RATMAT_PRINT prints a rational matrix.\n' );
  fprintf ( 1, '\n' );
 
  for i = 1 : m
    for j = 1 : n
      a(i,j) = 1;
      b(i,j) = i + j;
    end
  end
 
  ratmat_print ( m, n, a, b, '  The Hilbert matrix:' );

  return
end
