XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ 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]NNumber of elements in vector x. (If N <= 0, returns 0)
[in]ZX_IAn 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