|
|
◆ dscal()
| void dscal |
( |
int |
n, |
|
|
double |
a, |
|
|
double |
x[], |
|
|
int |
incx |
|
) |
| |
x <- ax (BLAS 1)
- Purpose
- This routine scales a vector by a constant.
- Parameters
-
| [in] | n | Number of elements in input vector. (if n <= 0, returns without computation) |
| [in] | a | Scalar a. |
| [in,out] | x[] | Array x[lx] (lx >= 1 + (n - 1)*incx)
[in] Input vector x.
[out] Scaled vector. (= ax) |
| [in] | incx | Storage spacing between elements of x. (If incx <= 0, returns without computation) |
- Reference
- BLAS
|