====================================================================
zrot examples
====================================================================

====================================================================
Man Page Details
====================================================================

 Online html documentation available at 
            http://www.netlib.org/lapack/explore-html/ 

 Definition:
 ===========

       SUBROUTINE ZROT( N, CX, INCX, CY, INCY, C, S )
 
       .. Scalar Arguments ..
       INTEGER            INCX, INCY, N
       DOUBLE PRECISION   C
       COMPLEX*16         S
       ..
       .. Array Arguments ..
       COMPLEX*16         CX( * ), CY( * )
       ..
  

 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:
 ==========

  [in] N

          N is INTEGER
          The number of elements in the vectors CX and CY.

  [in,out] CX

          CX is COMPLEX*16 array, dimension (N)
          On input, the vector X.
          On output, CX is overwritten with C*X + S*Y.

  [in] INCX

          INCX is INTEGER
          The increment between successive values of CY.  INCX <> 0.

  [in,out] CY

          CY is COMPLEX*16 array, dimension (N)
          On input, the vector Y.
          On output, CY is overwritten with -CONJG(S)*X + C*Y.

  [in] INCY

          INCY is INTEGER
          The increment between successive values of CY.  INCX <> 0.

  [in] C

          C is DOUBLE PRECISION

  [in] S

          S is COMPLEX*16
          C and S define a rotation
             [  C          S  ]
             [ -conjg(S)   C  ]
          where C*C + S*CONJG(S) = 1.0.

 Authors:
 ========

  Univ. of Tennessee 
  Univ. of California Berkeley 
  Univ. of Colorado Denver 
  NAG Ltd. 

 November 2011

