|
|
◆ Dasum_sub()
| Sub Dasum_sub |
( |
Ret As |
Double, |
|
|
N As |
Long, |
|
|
X_I As |
Double, |
|
|
Optional IncX As |
Long = 1 |
|
) |
| |
|x| (1-norm) (BLAS 1) (Subroutine version)
- Purpose
- Computes the sum of the absolute values of a vector (1-norm).
- Parameters
-
| [out] | Ret | Sum of the absolute values of elements of the vector x (1-norm). |
| [in] | N | Number of elements in vector x. (If N <= 0, returns 0) |
| [in] | X_I | An element X(I) of the array X(). Starting from this location, vector x is stored with element spacing IncX. |
| [in] | IncX | (Optional)
Element spacing of vector x in array X(). (If IncX <= 0, returns 0) (default = 1) |
- Reference
- BLAS
|