1ZROT(1) LAPACK auxiliary routine (version 3.2) ZROT(1)
2
3
4
6 ZROT - applies a plane rotation, where the cos (C) is real and the sin
7 (S) is complex, and the vectors CX and CY are complex
8
10 SUBROUTINE ZROT( N, CX, INCX, CY, INCY, C, S )
11
12 INTEGER INCX, INCY, N
13
14 DOUBLE PRECISION C
15
16 COMPLEX*16 S
17
18 COMPLEX*16 CX( * ), CY( * )
19
21 ZROT applies a plane rotation, where the cos (C) is real and the sin
22 (S) is complex, and the vectors CX and CY are complex.
23
25 N (input) INTEGER
26 The number of elements in the vectors CX and CY.
27
28 CX (input/output) COMPLEX*16 array, dimension (N)
29 On input, the vector X. On output, CX is overwritten with C*X
30 + S*Y.
31
32 INCX (input) INTEGER
33 The increment between successive values of CY. INCX <> 0.
34
35 CY (input/output) COMPLEX*16 array, dimension (N)
36 On input, the vector Y. On output, CY is overwritten with
37 -CONJG(S)*X + C*Y.
38
39 INCY (input) INTEGER
40 The increment between successive values of CY. INCX <> 0.
41
42 C (input) DOUBLE PRECISION
43 S (input) COMPLEX*16 C and S define a rotation [ C
44 S ] [ -conjg(S) C ] where C*C + S*CONJG(S) = 1.0.
45
46
47
48 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 ZROT(1)