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

◆ Dznrm2()

Function Dznrm2 ( N As  Long,
ZX_I As  Complex,
Optional IncX As  Long = 1 
)

||x||2 (2-norm) (complex vector) (BLAS 1)

Purpose
This routine computes the Euclidean norm of a complex vector (2-norm).
Returns
Double
Euclidean norm of a complex vector x (= sqrt(x^H*x)) (2-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 array X(). (If IncX <= 0, returns 0) (default = 1)
Reference
BLAS