XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ zaxpy()

void zaxpy ( int  n,
doublecomplex  za,
doublecomplex  zx[],
int  incx,
doublecomplex  zy[],
int  incy 
)

y <- ax + y (complex vector) (BLAS 1)

Purpose
This routine computes the complex constant times a complex vector plus a complex vector.
Parameters
[in]nNumber of elements in vectors x and y. (If n <= 0, returns without computation)
[in]zaScalar a.
[in]zx[]Array zx[lzx] (lzx >= 1 + (n - 1)*abs(incx))
Input vector x.
[in]incxStorage spacing between elements of x.
[in,out]zy[]Array zy[lzy] (lzy >= 1 + (n - 1)*abs(incy))
[in] Input vector y.
[out] Output vector. (= ax + y)
[in]incyStorage spacing between elements of y.
Reference
BLAS