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


Outputs
x*alphaa 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