Content |
CXXBLAS Level 1: axpy
axpy (defined in namespace cxxblas) computes \(y \leftarrow y +\alpha x\) where \(x, y\) are vectors and \(\alpha\) is a constant scalar.
Generic Implementation
|
n |
(input) |
|
alpha |
(input) |
|
x |
(input) |
|
incX |
(input) |
|
y |
(input/output) |
|
incY |
(input) |
CBLAS Implementation
If a CBLAS implementations like ATLAS, GotoBLAS, ... is available then the following optimized variants are provided.