n*V+V ( alpha x y -- alpha*x+y )
Basic Linear Algebra Subroutines (BLAS) interface » BLAS interface vector operations

Prev:n*V+V! ( alpha x y -- y=alpha*x+y )
Next:V+ ( x y -- x+y )


Vocabulary
math.blas.vectors

Inputs
alphaa number
xa blas-vector-base
ya blas-vector-base


Outputs
alpha*x+ya blas-vector-base


Word description
Calculate the vector sum αx + y and return a freshly-allocated vector with the same length as x and y containing the result. Corresponds to the xAXPY routines in BLAS.

See also
n*V+V!, n*V!, n*V, V+, V-, Vneg, V*n, V/n

Definition