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
alphaa number
xa blas-vector-base


Outputs
alpha*xa 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