Handbook
Glossary
n*V+V! ( alpha x y -- y=alpha*x+y )
Basic Linear Algebra Subroutines (BLAS) interface
»
BLAS interface vector operations
Prev:
Vneg ( x -- -x )
Next:
n*V+V ( alpha x y -- alpha*x+y )
Vocabulary
math.blas.vectors
Inputs
alpha
a
number
x
a
blas-vector-base
y
a
blas-vector-base
Outputs
y=alpha*x+y
a
blas-vector-base
Word description
Calculate the vector sum
αx + y
and replace the existing contents of y with the result. Corresponds to the xAXPY routines in BLAS.
Side effects
Modifies
y
See also
n*V!
,
n*V+V
,
n*V
,
V+
,
V-
,
Vneg
,
V*n
,
V/n
Definition
IN:
math.blas.vectors
GENERIC:
n*V+V!
( alpha x y -- y=alpha*x+y )
Methods
USING:
kernel
math.blas.ffi
math.blas.vectors
math.blas.vectors.private
;
M:
complex-double-blas-vector
n*V+V!
(prepare-axpy)
[
ZAXPY
]
dip
;
USING:
kernel
math.blas.ffi
math.blas.vectors
math.blas.vectors.private
;
M:
complex-float-blas-vector
n*V+V!
(prepare-axpy)
[
CAXPY
]
dip
;
USING:
kernel
math.blas.ffi
math.blas.vectors
math.blas.vectors.private
;
M:
double-blas-vector
n*V+V!
(prepare-axpy)
[
DAXPY
]
dip
;
USING:
kernel
math.blas.ffi
math.blas.vectors
math.blas.vectors.private
;
M:
float-blas-vector
n*V+V!
(prepare-axpy)
[
SAXPY
]
dip
;