naginterfaces.library.blas.dzasum

naginterfaces.library.blas.dzasum(x)[source]

dzasum returns the sum of the absolute values of the real and imaginary parts of the elements in a complex vector.

For full information please refer to the NAG Library document for f06jk

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06jkf.html

Parameters
xcomplex, array-like, shape

The -element vector .

Returns
sumxfloat

The sum of the absolute values of the real and imaginary parts of the elements in the complex vector, .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: .

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.

dzasum returns the norm

of the -element complex vector .

References

Lawson, C L, Hanson, R J, Kincaid, D R and Krogh, F T, 1979, Basic linear algebra supbrograms for Fortran usage, ACM Trans. Math. Software (5), 308–325