Handbook
Glossary
V*n ( x alpha -- x*alpha )
Basic Linear Algebra Subroutines (BLAS) interface
»
BLAS interface vector operations
Prev:
n*V ( alpha x -- alpha*x )
Next:
V/n ( x alpha -- x/alpha )
Vocabulary
math
.
blas
.
vectors
Inputs
x
a
blas-vector-base
alpha
a
number
Outputs
x*alpha
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
,
n*V
,
V+
,
V-
,
Vneg
,
V/n
Definition
USING:
kernel
;
IN:
math.blas.vectors
:
V*n
( x alpha -- x*alpha )
swap
n*V
;
inline