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