1 SUBROUTINE immddat( M, N, ALPHA, A, LDA, BETA, B, LDB )
13 INTEGER A( LDA, * ), B( LDB, * )
70 parameter( one = 1, zero = 0 )
78 IF( beta.EQ.one )
THEN
79 IF( alpha.EQ.zero )
THEN
85 ELSE IF( alpha.NE.one )
THEN
88 a( i, j ) = b( j, i ) + alpha * a( i, j )
94 a( i, j ) = b( j, i ) + a( i, j )
98 ELSE IF( beta.NE.zero )
THEN
99 IF( alpha.EQ.zero )
THEN
102 a( i, j ) = beta * b( j, i )
105 ELSE IF( alpha.NE.one )
THEN
108 a( i, j ) = beta * b( j, i ) + alpha * a( i, j )
114 a( i, j ) = beta * b( j, i ) + a( i, j )
119 IF( alpha.EQ.zero )
THEN
125 ELSE IF( alpha.NE.one )
THEN
128 a( i, j ) = alpha * a( i, j )
134 IF( beta.EQ.one )
THEN
135 IF( alpha.EQ.zero )
THEN
138 a( j, i ) = b( i, j )
141 ELSE IF( alpha.NE.one )
THEN
144 a( j, i ) = b( i, j ) + alpha * a( j, i )
150 a( j, i ) = b( i, j ) + a( j, i )
154 ELSE IF( beta.NE.zero )
THEN
155 IF( alpha.EQ.zero )
THEN
158 a( j, i ) = beta * b( i, j )
161 ELSE IF( alpha.NE.one )
THEN
164 a( j, i ) = beta * b( i, j ) + alpha * a( j, i )
170 a( j, i ) = beta * b( i, j ) + a( j, i )
175 IF( alpha.EQ.zero )
THEN
181 ELSE IF( alpha.NE.one )
THEN
184 a( i, j ) = alpha * a( i, j )