naginterfaces.library.blas.zrot2¶
- naginterfaces.library.blas.zrot2(x, y, z, c, s)[source]¶
zrot2
applies a complex similarity rotation having real cosine and complex sine to a complex Hermitian matrix.For full information please refer to the NAG Library document for f06ch
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f06/f06chf.html
- Parameters
- xcomplex
The value , the element of the input matrix.
- ycomplex
The value , the element of the input matrix.
- zcomplex
The value , the element of the input matrix.
- cfloat
The value , the cosine of the rotation.
- scomplex
The value , the sine of the rotation.
- Returns
- xcomplex
The transformed value .
- ycomplex
The transformed value .
- zcomplex
The transformed value .
- Notes
No equivalent traditional C interface for this routine exists in the NAG Library.
zrot2
applies a complex similarity rotation, with parameters (real) and (complex), to a given complex Hermitian matrix; that is, it performs the operation:where and are real.
The argument and which hold and are declared complex for convenience when using the function to operate on submatrices of larger Hermitian matrices.
Note that:
where , so to use
zrot2
when is the element of the matrix, you can make the call tozrot2
using