naginterfaces.library.blas.zrot

naginterfaces.library.blas.zrot(cx, cy, c, s)[source]

zrot applies a plane rotation with a real cosine and complex sine to two complex vectors.

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

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

Parameters
cxcomplex, array-like, shape

The -element vector .

cycomplex, array-like, shape

The -element vector .

cfloat

The value , the cosine of the rotation.

scomplex

The value , the sine of the rotation.

Returns
cxcomplex, ndarray, shape

The transformed vector .

cycomplex, ndarray, shape

The transformed vector .

Notes

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

zrot applies a plane rotation, where the cosine is real and the sine is complex, to two -element complex vectors and :