function c = c8mat_add ( m, n, alpha, a, beta, b )

%*****************************************************************************80
%
%% c8mat_add() combines two C8MAT's with scalar factors.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 March 2013
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the order of A.
%
%    complex ALPHA, the first scale factor.
%
%    complex A(M,N), the first matrix.
%
%    complex BETA, the second scale factor.
%
%    complex B(M,N), the second matrix.
%
%  Output:
%
%    complex C(M,N), the result.
%
  c(1:m,1:n) = alpha * a(1:m,1:n) + beta * b(1:m,1:n);

  return
end
