|
◆ Dzasum()
Function Dzasum |
( |
N As |
Long, |
|
|
ZX_I As |
Complex, |
|
|
Optional IncX As |
Long = 1 |
|
) |
| |
|Re(x)| + |Im(x)| (1-norm) (complex vector) (BLAS 1)
- Purpose
- This routine takes the sum of the absolute values of real and imaginary parts of the elements of a complex vector (1-norm).
- Returns
- Double
Sum of the absolute values of real and imaginary parts of the elements of the complex vector x (1-norm).
- Parameters
-
[in] | N | Number of elements in vector x. (If N <= 0, returns 0) |
[in] | ZX_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 the array X(). (If IncX <= 0, returns 0) (default = 1) |
- Reference
- BLAS
|