naginterfaces.library.blas.zdotc

naginterfaces.library.blas.zdotc(x, y)[source]

zdotc computes the scalar product of two complex vectors.

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

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/f06/f06gbf.html

Parameters
xcomplex, array-like, shape

The -element vector .

ycomplex, array-like, shape

The -element vector .

Returns
zdccomplex

The value of the scalar product.

Notes

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

zdotc returns the value of the scalar product

where and are -element complex vectors.

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