CROT (3) Linux Manual Page
crot.f –
Synopsis
Functions/Subroutines
subroutine crot (N, CX, INCX, CY, INCY, C, S)CROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors.
Function/Subroutine Documentation
subroutine crot (integerN, complex, dimension( * )CX, integerINCX, complex, dimension( * )CY, integerINCY, realC, complexS)
CROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors. Purpose:
CROT applies a plane rotation, where the cos (C) is real and the
sin (S) is complex, and the vectors CX and CY are complex.
Parameters:
- N
N is INTEGER
CX
The number of elements in the vectors CX and CY.CX is COMPLEX array, dimension (N)
INCX
On input, the vector X.
On output, CX is overwritten with C*X + S*Y.INCX is INTEGER
CY
The increment between successive values of CY. INCX <> 0.CY is COMPLEX array, dimension (N)
INCY
On input, the vector Y.
On output, CY is overwritten with -CONJG(S)*X + C*Y.INCY is INTEGER
C
The increment between successive values of CY. INCX <> 0.C is REAL
SS is COMPLEX
C and S define a rotation
[ C S ]
[ -conjg(S) C ]
where C*C + S*CONJG(S) = 1.0.
Author:
- Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
- September 2012
Definition at line 104 of file crot.f.
