function error_frobenius = r8mat_is_orthogonal_row ( m, n, a )

%*****************************************************************************80
%
%% R8MAT_IS_ORTHOGONAL_ROW checks whether an R8MAT is row orthogonal.
%
%  Discussion:
%
%    An R8MAT is a matrix of real values.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 April 2017
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the row and column dimensions of 
%    the matrix.  M and N must be positive.
%
%    real A(M,N), the matrix.
%
%  Output:
%
%    real ERROR_FROBENIUS, the sum of the errors.
%
  b = a * a';

  error_frobenius = r8mat_is_identity ( m, b );

  return
end
