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



NAME
       ZDROT

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



PURPOSE
            ZDROT   applies a plane rotation, where the cos and sin (C and S)
            is real 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 -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 DOUBLE PRECISION
                     C and S define a rotation
                        [  C  S  ]
                        [ -S  C  ]
                     where C*C + S*S = 1.0.



BLAS routine 4.0                 31 March 2014                        ZDROT(3)