1DLAR2V(1) LAPACK auxiliary routine (version 3.1) DLAR2V(1)
2
3
4
6 DLAR2V - a vector of real plane rotations from both sides to a sequence
7 of 2-by-2 real symmetric matrices, defined by the elements of the vec‐
8 tors x, y and z
9
11 SUBROUTINE DLAR2V( N, X, Y, Z, INCX, C, S, INCC )
12
13 INTEGER INCC, INCX, N
14
15 DOUBLE PRECISION C( * ), S( * ), X( * ), Y( * ), Z( * )
16
18 DLAR2V 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
22 ( x(i) z(i) ) := ( c(i) s(i) ) ( x(i) z(i) ) ( c(i) -s(i) )
23 ( z(i) y(i) ) ( -s(i) c(i) ) ( z(i) y(i) ) ( s(i) c(i) )
24
25
27 N (input) INTEGER
28 The number of plane rotations to be applied.
29
30 X (input/output) DOUBLE PRECISION array,
31 dimension (1+(N-1)*INCX) The vector x.
32
33 Y (input/output) DOUBLE PRECISION array,
34 dimension (1+(N-1)*INCX) The vector y.
35
36 Z (input/output) DOUBLE PRECISION array,
37 dimension (1+(N-1)*INCX) The vector z.
38
39 INCX (input) INTEGER
40 The increment between elements of X, Y and Z. INCX > 0.
41
42 C (input) DOUBLE PRECISION array, dimension (1+(N-1)*INCC)
43 The cosines of the plane rotations.
44
45 S (input) DOUBLE PRECISION 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 DLAR2V(1)