Content |
BLAS Level 1: scal
rscal (defined in namespace flens::blas) computes \(y \leftarrow \alpha y\) for a vector \(y\).
We also provide a variant that does the computation for matrices instead of vectors.
Vector Variant
Defined in namespace flens::blas. Function scal with 2 template parameters.
alpha |
(input) real scalar |
y |
(input/output) real or complex valued DenseVector |
Matrix Variant (Level 1 Extension)
alpha |
(input) real scalar |
B |
(input/output) real or complex valued GeMatrix |
Defined in namespace flens::blas. Function scal with 2 template parameters.