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

◆ zcopy()

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

y <- x (complex vector) (BLAS 1)

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