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

◆ dcopy()

void dcopy ( int  n,
double  x[],
int  incx,
double  y[],
int  incy 
)

y <- x (BLAS 1)

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