1 SUBROUTINE cmmcadd( M, N, ALPHA, A, LDA, BETA, B, LDB )
13 COMPLEX A( LDA, * ), B( LDB, * )
69 parameter( one = ( 1.0e+0, 0.0e+0 ),
70 $ zero = ( 0.0e+0, 0.0e+0 ) )
83 IF( alpha.EQ.one )
THEN
84 IF( beta.EQ.zero )
THEN
87 b( i, j ) = conjg( a( i, j ) )
90 ELSE IF( beta.NE.one )
THEN
93 b( i, j ) = conjg( a( i, j ) ) + beta * b( i, j )
99 b( i, j ) = conjg( a( i, j ) ) + b( i, j )
103 ELSE IF( alpha.NE.zero )
THEN
104 IF( beta.EQ.zero )
THEN
107 b( i, j ) = alpha * conjg( a( i, j ) )
110 ELSE IF( beta.NE.one )
THEN
113 b( i, j ) = alpha * conjg( a( i, j ) ) +
120 b( i, j ) = alpha * conjg( a( i, j ) ) + b( i, j )
125 IF( beta.EQ.zero )
THEN
131 ELSE IF( beta.NE.one )
THEN
133 CALL cscal( m, beta, b( 1, j ), 1 )