XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ dzasum()

double dzasum ( int  n,
doublecomplex  zx[],
int  incx 
)

|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
Sum of the absolute values of real and imaginary parts of the elements of the complex vector x (1-norm).
Parameters
[in]nNumber of elements in input vector x. (If n <= 0, returns 0)
[in]zx[]Array zx[lzx] (lzx >= 1 + (n - 1)*incx)
Input vector x.
[in]incxStorage spacing between elements of zx. (If incx <= 0, returns 0)
Reference
BLAS