Scaled vector addition |
| F_SWAXPBY/F_DWAXPBY/F_CWAXPBY/F_ZWAXPBY |
| INTEGER*8 | INCW, INCX, INCY, N |
| COMPLEX*8 | ALPHA, BETA, W( * ), X( * ), Y( * ) |
| SUBROUTINE F_CWAXPBY (N, ALPHA, X, INCX, BETA, Y, INCY, W, | |
| INCW) |
|
| INTEGER*8 | INCW, INCX, INCY, N |
| COMPLEX*16 | ALPHA, BETA, W( * ), X( * ), Y( * ) |
| SUBROUTINE F_ZWAXPBY (N, ALPHA, X, INCX, BETA, Y, INCY, W, | |
| INCW) |
|
Input | N | Number of elements of vector x. |
| ALPHA | The scalar ALPHA. |
| X | REAL or COMPLEX array, minimum length |
|
| (N - 1) x incx + 1. |
| INCX | Increment for the array x. A vector x having component |
|
| xi, i = 1,..., n, is stored in an array X() with increment |
|
| argument incx. If incx > 0 then xi is stored in |
|
| X (1 + (i - 1) x incx). If incx < 0 then xi is stored in |
|
| X (1 + (N - i) x incx). incx = 0 is an illegal value. |
| BETA | The scalar BETA. |
Chapter 2 Basic Vector Operations 203