Content |
BLAS Level 1: axpy
axpy (defined in namespace flens::blas) computes \(y \leftarrow y +\alpha x\) where \(x, y\) are vectors and \(\alpha\) is a constant scalar. axpy is short for alpha times x plus y.
acxpy (defined in namespace flens::blas) is a variant with conjugation that computes \(y \leftarrow y +\alpha \bar{x}\) where \(x, y\) are vectors and \(\alpha\) is a constant scalar. acxpy is short for alpha times conjugate x plus y.
We also provide a variant that does the computation for matrices instead of vectors.
Vector Variant
alpha |
(input) real scalar |
x |
(input) real or complex valued DenseVector |
y |
(input/output) real or complex valued DenseVector |
Vector Variant with Conjugation
alpha |
(input) real scalar |
x |
(input) real or complex valued DenseVector |
y |
(input/output) real or complex valued DenseVector |
Matrix Variant (Level 1 Extension)
trans |
(input)
|
||||||
alpha |
(input) real scalar |
||||||
A |
(input) real or complex valued GeMatrix |
||||||
B |
(input/output) real or complex valued GeMatrix |