naginterfaces.library.blas.zaxpy

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

zaxpy adds a scaled complex vector to an unscaled complex vector.

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

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

Parameters
alphacomplex

The scalar .

xcomplex, array-like, shape

The -element vector .

ycomplex, array-like, shape

The -element vector .

Returns
ycomplex, ndarray, shape

The updated vector .

Notes

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

zaxpy performs the operation

where and are -element complex vectors, and is a complex scalar.

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