function b = r8mat_flip_cols ( m, n, a )

%*****************************************************************************80
%
%% r8mat_flip_cols() reverses the order of the columns of an R8MAT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 November 2013
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the order of the matrix.
%
%    real A(M,N), the matrix.
%
%  Output:
%
%    real B(M,N), the reordered matrix.
%
  b(1:m,n:-1:1) = a(1:m,1:n);

  return
end

