CROT(3) BLAS routine of NEC Numeric Library Collection CROT(3) NAME CROT SYNOPSIS SUBROUTINE CROT (N, CX, INCX, CY, INCY, C, S) 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. ARGUMENTS N (input) N is INTEGER The number of elements in the vectors CX and CY. CX (input/output) CX is COMPLEX array, dimension (N) On input, the vector X. On output, CX is overwritten with C*X + S*Y. INCX (input) INCX is INTEGER The increment between successive values of CY. INCX <> 0. CY (input/output) CY is COMPLEX array, dimension (N) On input, the vector Y. On output, CY is overwritten with -CONJG(S)*X + C*Y. INCY (input) INCY is INTEGER The increment between successive values of CY. INCX <> 0. C (input) C is REAL S (input) S is COMPLEX C and S define a rotation [ C S ] [ -conjg(S) C ] where C*C + S*CONJG(S) = 1.0. BLAS routine 4.0 31 March 2014 CROT(3)