function r8mat_norm_rms_test ( )

%*****************************************************************************80
%
%% R8MAT_NORM_RMS_TEST tests R8MAT_NORM_RMS.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    31 July 2018
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 4;
  a = zeros ( m, n );

  k = 0;
  for i = 1 : m
    for j = 1 : n
      k = k + 1;
      a(i,j) = k;
    end
  end

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8MAT_NORM_RMS_TEST\n' );
  fprintf ( 1, '  R8MAT_NORM_RMS computes the RMS norm of an R8MAT;\n' );

  r8mat_print ( m, n, a, '  A:' );

  t = r8mat_norm_rms ( m, n, a );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  RMS norm of A = %g\n', t );
 
  return
end
