1CLARTV(1) LAPACK auxiliary routine (version 3.1) CLARTV(1)
2
3
4
6 CLARTV - a vector of complex plane rotations with real cosines to ele‐
7 ments of the complex vectors x and y
8
10 SUBROUTINE CLARTV( N, X, INCX, Y, INCY, C, S, INCC )
11
12 INTEGER INCC, INCX, INCY, N
13
14 REAL C( * )
15
16 COMPLEX S( * ), X( * ), Y( * )
17
19 CLARTV applies a vector of complex plane rotations with real cosines to
20 elements of the complex vectors x and y. For i = 1,2,...,n
21
22 ( x(i) ) := ( c(i) s(i) ) ( x(i) )
23 ( y(i) ) ( -conjg(s(i)) c(i) ) ( y(i) )
24
25
27 N (input) INTEGER
28 The number of plane rotations to be applied.
29
30 X (input/output) COMPLEX array, dimension (1+(N-1)*INCX)
31 The vector x.
32
33 INCX (input) INTEGER
34 The increment between elements of X. INCX > 0.
35
36 Y (input/output) COMPLEX array, dimension (1+(N-1)*INCY)
37 The vector y.
38
39 INCY (input) INTEGER
40 The increment between elements of Y. INCY > 0.
41
42 C (input) REAL array, dimension (1+(N-1)*INCC)
43 The cosines of the plane rotations.
44
45 S (input) COMPLEX array, dimension (1+(N-1)*INCC)
46 The sines of the plane rotations.
47
48 INCC (input) INTEGER
49 The increment between elements of C and S. INCC > 0.
50
51
52
53 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 CLARTV(1)