Handbook
Glossary
n*V ( alpha x -- alpha*x )
Basic Linear Algebra Subroutines (BLAS) interface
»
BLAS interface vector operations
Prev:
n*V! ( alpha x -- x=alpha*x )
Next:
V*n ( x alpha -- x*alpha )
Vocabulary
math
.
blas
.
vectors
Inputs
alpha
a
number
x
a
blas-vector-base
Outputs
alpha*x
a
blas-vector-base
Word description
Calculate the scalar-vector product
αx
and return a freshly-allocated vector with the same length as
x
containing the result. Corresponds to the xSCAL routines in BLAS.
See also
n*V+V!
,
n*V!
,
n*V+V
,
V+
,
V-
,
Vneg
,
V*n
,
V/n
Definition
USING:
kernel
;
IN:
math.blas.vectors
:
n*V
( alpha x -- alpha*x )
clone
n*V!
;
inline