naginterfaces.library.blas.drot2

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

drot2 applies a real similarity rotation to a real symmetric matrix.

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

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

Parameters
xfloat

The value , the element of the input matrix.

yfloat

The value , the or element of the input matrix.

zfloat

The value , the element of the input matrix.

cfloat

The value , the cosine of the rotation.

sfloat

The value , the sine of the rotation.

Returns
xfloat

The transformed value .

yfloat

The transformed value .

zfloat

The transformed value .

Notes

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

drot2 applies a real similarity rotation, with parameters and , to a given real symmetric matrix; that is, it performs the operation: