26 SUBROUTINE saxpym (M, N, A, X, LDX, Y, LDY)
30 INTEGER m, n, ldx, ldy
31 REAL a, x(ldx*n), y(ldy*n)
34 IF (m .EQ. ldx .AND. m .EQ. ldy)
THEN
35 CALL saxpy(m * n, a, x, 1, y, 1)
38 CALL saxpy(m, a, x(i*ldx+1), 1, y(i*ldy+1), 1)
45 SUBROUTINE daxpym (M, N, A, X, LDX, Y, LDY)
49 INTEGER m, n, ldx, ldy
50 DOUBLE PRECISION a, x(ldx*n), y(ldy*n)
53 IF (m .EQ. ldx .AND. m .EQ. ldy)
THEN
54 CALL daxpy(m * n, a, x, 1, y, 1)
57 CALL daxpy(m, a, x(i*ldx+1), 1, y(i*ldy+1), 1)
64 SUBROUTINE caxpym (M, N, A, X, LDX, Y, LDY)
68 INTEGER m, n, ldx, ldy
69 COMPLEX a, x(ldx*n), y(ldy*n)
72 IF (m .EQ. ldx .AND. m .EQ. ldy)
THEN
73 CALL caxpy(m * n, a, x, 1, y, 1)
76 CALL caxpy(m, a, x(i*ldx+1), 1, y(i*ldy+1), 1)
83 SUBROUTINE zaxpym (M, N, A, X, LDX, Y, LDY)
87 INTEGER m, n, ldx, ldy
88 DOUBLE COMPLEX a, x(ldx*n), y(ldy*n)
91 IF (m .EQ. ldx .AND. m .EQ. ldy)
THEN
92 CALL zaxpy(m * n, a, x, 1, y, 1)
95 CALL zaxpy(m, a, x(i*ldx+1), 1, y(i*ldy+1), 1)