1 *> \brief \b ZLARTV applies a vector of plane rotations with real cosines and complex sines to the elements of a pair of vectors.
3 * =========== DOCUMENTATION ===========
5 * Online html documentation available at
6 * http://www.netlib.org/lapack/explore-html/
9 *> Download ZLARTV + dependencies
10 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zlartv.f">
12 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zlartv.f">
14 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zlartv.f">
21 * SUBROUTINE ZLARTV( N, X, INCX, Y, INCY, C, S, INCC )
23 * .. Scalar Arguments ..
24 * INTEGER INCC, INCX, INCY, N
26 * .. Array Arguments ..
27 * DOUBLE PRECISION C( * )
28 * COMPLEX*16 S( * ), X( * ), Y( * )
37 *> ZLARTV applies a vector of complex plane rotations with real cosines
38 *> to elements of the complex vectors x and y. For i = 1,2,...,n
40 *> ( x(i) ) := ( c(i) s(i) ) ( x(i) )
41 *> ( y(i) ) ( -conjg(s(i)) c(i) ) ( y(i) )
50 *> The number of plane rotations to be applied.
55 *> X is COMPLEX*16 array, dimension (1+(N-1)*INCX)
62 *> The increment between elements of X. INCX > 0.
67 *> Y is COMPLEX*16 array, dimension (1+(N-1)*INCY)
74 *> The increment between elements of Y. INCY > 0.
79 *> C is DOUBLE PRECISION array, dimension (1+(N-1)*INCC)
80 *> The cosines of the plane rotations.
85 *> S is COMPLEX*16 array, dimension (1+(N-1)*INCC)
86 *> The sines of the plane rotations.
92 *> The increment between elements of C and S. INCC > 0.
98 *> \author Univ. of Tennessee
99 *> \author Univ. of California Berkeley
100 *> \author Univ. of Colorado Denver
103 *> \date September 2012
105 *> \ingroup complex16OTHERauxiliary
107 * =====================================================================
108 SUBROUTINE ZLARTV( N, X, INCX, Y, INCY, C, S, INCC )
110 * -- LAPACK auxiliary routine (version 3.4.2) --
111 * -- LAPACK is a software package provided by Univ. of Tennessee, --
112 * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
115 * .. Scalar Arguments ..
116 INTEGER INCC, INCX, INCY, N
118 * .. Array Arguments ..
119 DOUBLE PRECISION C( * )
120 COMPLEX*16 S( * ), X( * ), Y( * )
123 * =====================================================================
125 * .. Local Scalars ..
126 INTEGER I, IC, IX, IY
129 * .. Intrinsic Functions ..
132 * .. Executable Statements ..
140 X( IX ) = C( IC )*XI + S( IC )*YI
141 Y( IY ) = C( IC )*YI - DCONJG( S( IC ) )*XI