naginterfaces.library.blas.zdrot

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

zdrot applies a real plane rotation to two complex vectors.

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

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

Parameters
xcomplex, array-like, shape

The -element vector .

ycomplex, array-like, shape

The -element vector .

cfloat

The value , the cosine of the rotation.

sfloat

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.

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

The plane rotation has the form generated by drotg() or drotgc().