ZROT(3)         BLAS routine of NEC Numeric Library Collection         ZROT(3)



NAME
       ZROT

SYNOPSIS
       SUBROUTINE ZROT (N, CX, INCX, CY, INCY, C, S)



PURPOSE
            ZROT   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*16 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*16 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 DOUBLE PRECISION

           S         (input)
                     S is COMPLEX*16
                     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                         ZROT(3)