# CXXBLAS Level 1: axpy

copy (defined in namespace cxxblas) copies a vector $$x$$ to a vector $$y$$, i.e. performs the operation $$y \leftarrow x$$.

## Generic Implementation

 n (input) Specifies the number of elements in vector $$x$$ and $$y$$. x (input) Pointer to the first element of vector $$x$$. incX (input) Specifies the increment for indexing vector $$x$$. y (output) Pointer to the first element of vector $$y$$. incY (input) Specifies the increment for indexing vector $$y$$.

## CBLAS Implementation

If a CBLAS implementations like ATLAS, GotoBLAS, ... is available then the following optimized variants are provided.

### Complex Double Precision

Defined in namespace cxxblas. Function copy with 3 template parameters.