Handbook
Glossary
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
alpha
a
number
x
a
blas-vector-base
y
a
blas-vector-base
Outputs
alpha*x+y
a
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
USING:
kernel
;
IN:
math.blas.vectors
:
n*V+V
( alpha x y -- alpha*x+y )
clone
n*V+V!
;
inline