naginterfaces.library.blas.drot

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

drot applies a real plane rotation to two real vectors.

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

https://www.nag.com/numeric/nl/nagdoc_29.3/flhtml/f06/f06epf.html

Parameters
xfloat, array-like, shape

The -element vector .

yfloat, array-like, shape

The -element vector .

cfloat

The value , the cosine of the rotation.

sfloat

The value , the sine of the rotation.

Returns
xfloat, ndarray, shape

The transformed vector .

yfloat, ndarray, shape

The transformed vector .

Notes

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

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

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

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