function r = r8mat_normal_ab ( m, n, a, b )

%*****************************************************************************80
%
%% r8mat_normal_ab() returns a scaled pseudonormal R8MAT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 November 2021
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Paul Bratley, Bennett Fox, Linus Schrage,
%    A Guide to Simulation,
%    Springer Verlag, pages 201-202, 1983.
%
%    Bennett Fox,
%    Algorithm 647:
%    Implementation and Relative Efficiency of Quasirandom
%    Sequence Generators,
%    ACM Transactions on Mathematical Software,
%    Volume 12, Number 4, pages 362-376, 1986.
%
%    Peter Lewis, Allen Goodman, James Miller,
%    A Pseudo-Random Number Generator for the System/360,
%    IBM Systems Journal,
%    Volume 8, pages 136-143, 1969.
%
%  Input:
%
%    integer M, N, the number of rows and columns in the array.
%
%    real A, B, the mean and standard deviation.
%
%  Output:
%
%    real R(M,N), the array of pseudonormal values.
%
  r = r8vec_normal_ab ( m * n, a, b );

  r = reshape ( r, m, n );

  return
end
