|
|
◆ dasum()
| double dasum |
( |
int |
n, |
|
|
double |
x[], |
|
|
int |
incx |
|
) |
| |
|x| (1-norm) (BLAS 1)
- Purpose
- This routine takes the sum of the absolute values of a vector (1-norm).
- Returns
- Sum of the absolute values of elements of the vector x (1-norm).
- Parameters
-
| [in] | n | Number of elements in input vector x. (If n <= 0, dasum returns 0) |
| [in] | x[] | Array x[lx] (lx >= 1 + (n - 1)*incx)
Input vector x. |
| [in] | incx | Storage spacing between elements of vector x. (If incx <= 0, dasum returns 0) |
- Reference
- BLAS
|