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