Copies vector X to Y.
BLAS Library (libblas.a)
The SCOPY, DCOPY, CCOPY, or ZCOPY subroutine copies vector X to vector Y.
Item | Description |
---|---|
N | On entry, N specifies the number of elements in X and Y; unchanged on exit. |
X | Vector of dimension at least (1 + (N-1) * abs(INCX) ); unchanged on exit. |
INCX | On entry, INCX specifies the increment for the elements of X; unchanged on exit. |
Y | Vector of dimension at least (1 + (N-1) * abs(INCY) ) or greater; can contain any values on entry; on exit, contains the same values as X. |
INCY | On entry, INCY specifies the increment for the elements of Y; unchanged on exit. |
For values of N <= 0, the subroutines return immediately.