1 SUBROUTINE cmmddact( M, N, ALPHA, A, LDA, BETA, B, LDB )
13 COMPLEX A( LDA, * ), B( LDB, * )
70 parameter( one = ( 1.0e+0, 0.0e+0 ),
71 $ zero = ( 0.0e+0, 0.0e+0 ) )
85 IF( beta.EQ.one )
THEN
86 IF( alpha.EQ.zero )
THEN
89 a( i, j ) = conjg( b( j, i ) )
92 ELSE IF( alpha.NE.one )
THEN
95 a( i, j ) = conjg( b( j, i ) ) + alpha * a( i, j )
101 a( i, j ) = conjg( b( j, i ) ) + a( i, j )
105 ELSE IF( beta.NE.zero )
THEN
106 IF( alpha.EQ.zero )
THEN
109 a( i, j ) = beta * conjg( b( j, i ) )
112 ELSE IF( alpha.NE.one )
THEN
115 a( i, j ) = beta * conjg( b( j, i ) ) +
122 a( i, j ) = beta * conjg( b( j, i ) ) + a( i, j )
127 IF( alpha.EQ.zero )
THEN
133 ELSE IF( alpha.NE.one )
THEN
135 CALL cscal( m, alpha, a( 1, j ), 1 )
143 IF( beta.EQ.one )
THEN
144 IF( alpha.EQ.zero )
THEN
147 a( j, i ) = conjg( b( i, j ) )
150 ELSE IF( alpha.NE.one )
THEN
153 a( j, i ) = conjg( b( i, j ) ) + alpha * a( j, i )
159 a( j, i ) = conjg( b( i, j ) ) + a( j, i )
163 ELSE IF( beta.NE.zero )
THEN
164 IF( alpha.EQ.zero )
THEN
167 a( j, i ) = beta * conjg( b( i, j ) )
170 ELSE IF( alpha.NE.one )
THEN
173 a( j, i ) = beta * conjg( b( i, j ) ) +
180 a( j, i ) = beta * conjg( b( i, j ) ) + a( j, i )
185 IF( alpha.EQ.zero )
THEN
191 ELSE IF( alpha.NE.one )
THEN
193 CALL cscal( m, alpha, a( 1, j ), 1 )