naginterfaces.library.blas.zswap

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

zswap interchanges two -element complex vectors and .

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

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

Parameters
xcomplex, array-like, shape

The original vector .

ycomplex, array-like, shape

The original vector .

Returns
xcomplex, ndarray, shape

The original vector .

ycomplex, ndarray, shape

The original vector .

Notes

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

zswap interchanges the elements of complex vectors and .

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