naginterfaces.library.blas.zcrot

naginterfaces.library.blas.zcrot(x, y, c, s)[source]

zcrot applies a complex plane rotation to two complex vectors.

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

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

Parameters
xcomplex, array-like, shape

The -element vector .

ycomplex, array-like, shape

The -element vector .

ccomplex

The value , the cosine of the rotation.

scomplex

The value , the sine of the rotation.

Returns
xcomplex, ndarray, shape

The transformed vector .

ycomplex, ndarray, shape

The transformed vector .

Notes

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

zcrot applies a complex plane rotation to two -element complex vectors and :