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