1 SUBROUTINE immdda( M, N, ALPHA, A, LDA, BETA, B, LDB )
13 INTEGER A( LDA, * ), B( LDB, * )
69 parameter( one = 1, zero = 0 )
76 IF( beta.EQ.one )
THEN
77 IF( alpha.EQ.zero )
THEN
83 ELSE IF( alpha.NE.one )
THEN
86 a( i, j ) = b( i, j ) + alpha * a( i, j )
92 a( i, j ) = b( i, j ) + a( i, j )
96 ELSE IF( beta.NE.zero )
THEN
97 IF( alpha.EQ.zero )
THEN
100 a( i, j ) = beta * b( i, j )
103 ELSE IF( alpha.NE.one )
THEN
106 a( i, j ) = beta * b( i, j ) + alpha * a( i, j )
112 a( i, j ) = beta * b( i, j ) + a( i, j )
117 IF( alpha.EQ.zero )
THEN
123 ELSE IF( alpha.NE.one )
THEN
126 a( i, j ) = alpha * a( i, j )