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