I currently searching for a subroutine from BLAS or LAPACK which realizes the following operation
A = alpha*A + beta * B
where A and B have different leading dimensions, i.e. A is stored as
REAL*8 A(N,N)
and B is stored as
REAL*B B(LDB,N)
with LDB > N.
Is there a way to use existing BLAS or LAPACK operation to compute this or must I create an own subroutine for this kind of problems?
A = alpha*A + beta * B
were replaced by the nested do-loop that tells which expressions are to be added to assignA(I,J)
? $\endgroup$A = alpha*A + beta * B
doesn't convey what you mean, though I'm sure the meaning is so clear in your mind you have difficulty seeing that it becomes a guessing game for me. $\endgroup$