|
|
◆ daxpy()
| void daxpy |
( |
int |
n, |
|
|
double |
a, |
|
|
double |
x[], |
|
|
int |
incx, |
|
|
double |
y[], |
|
|
int |
incy |
|
) |
| |
y <- ax + y (BLAS 1)
- Purpose
- This routine computes the constant times a vector plus a vector.
- Parameters
-
| [in] | n | Number of elements in vectors x and y. (If n <= 0, returns without computation) |
| [in] | a | Scalar a. |
| [in] | x[] | Array x[lx] (lx >= 1 + (n - 1)*abs(incx))
Input vector x. |
| [in] | incx | Storage spacing between elements of x. |
| [in,out] | y[] | Array y[ly] (ly >= 1 + (n - 1)*abs(incy))
[in] Input vector y
[out] Output vector (= ax + y) |
| [in] | incy | Storage spacing between elements of y. |
- Reference
- BLAS
|