--- rpl/lapack/lapack/zlar2v.f 2010/12/21 13:53:51 1.7 +++ rpl/lapack/lapack/zlar2v.f 2011/11/21 20:43:17 1.8 @@ -1,9 +1,120 @@ +*> \brief \b ZLAR2V +* +* =========== DOCUMENTATION =========== +* +* Online html documentation available at +* http://www.netlib.org/lapack/explore-html/ +* +*> \htmlonly +*> Download ZLAR2V + dependencies +*> +*> [TGZ] +*> +*> [ZIP] +*> +*> [TXT] +*> \endhtmlonly +* +* Definition: +* =========== +* +* SUBROUTINE ZLAR2V( N, X, Y, Z, INCX, C, S, INCC ) +* +* .. Scalar Arguments .. +* INTEGER INCC, INCX, N +* .. +* .. Array Arguments .. +* DOUBLE PRECISION C( * ) +* COMPLEX*16 S( * ), X( * ), Y( * ), Z( * ) +* .. +* +* +*> \par Purpose: +* ============= +*> +*> \verbatim +*> +*> ZLAR2V applies a vector of complex plane rotations with real cosines +*> from both sides to a sequence of 2-by-2 complex Hermitian matrices, +*> defined by the elements of the vectors x, y and z. For i = 1,2,...,n +*> +*> ( x(i) z(i) ) := +*> ( conjg(z(i)) y(i) ) +*> +*> ( c(i) conjg(s(i)) ) ( x(i) z(i) ) ( c(i) -conjg(s(i)) ) +*> ( -s(i) c(i) ) ( conjg(z(i)) y(i) ) ( s(i) c(i) ) +*> \endverbatim +* +* Arguments: +* ========== +* +*> \param[in] N +*> \verbatim +*> N is INTEGER +*> The number of plane rotations to be applied. +*> \endverbatim +*> +*> \param[in,out] X +*> \verbatim +*> X is COMPLEX*16 array, dimension (1+(N-1)*INCX) +*> The vector x; the elements of x are assumed to be real. +*> \endverbatim +*> +*> \param[in,out] Y +*> \verbatim +*> Y is COMPLEX*16 array, dimension (1+(N-1)*INCX) +*> The vector y; the elements of y are assumed to be real. +*> \endverbatim +*> +*> \param[in,out] Z +*> \verbatim +*> Z is COMPLEX*16 array, dimension (1+(N-1)*INCX) +*> The vector z. +*> \endverbatim +*> +*> \param[in] INCX +*> \verbatim +*> INCX is INTEGER +*> The increment between elements of X, Y and Z. INCX > 0. +*> \endverbatim +*> +*> \param[in] C +*> \verbatim +*> C is DOUBLE PRECISION array, dimension (1+(N-1)*INCC) +*> The cosines of the plane rotations. +*> \endverbatim +*> +*> \param[in] S +*> \verbatim +*> S is COMPLEX*16 array, dimension (1+(N-1)*INCC) +*> The sines of the plane rotations. +*> \endverbatim +*> +*> \param[in] INCC +*> \verbatim +*> INCC is INTEGER +*> The increment between elements of C and S. INCC > 0. +*> \endverbatim +* +* Authors: +* ======== +* +*> \author Univ. of Tennessee +*> \author Univ. of California Berkeley +*> \author Univ. of Colorado Denver +*> \author NAG Ltd. +* +*> \date November 2011 +* +*> \ingroup complex16OTHERauxiliary +* +* ===================================================================== SUBROUTINE ZLAR2V( N, X, Y, Z, INCX, C, S, INCC ) * -* -- LAPACK auxiliary routine (version 3.2) -- +* -- LAPACK auxiliary routine (version 3.4.0) -- * -- LAPACK is a software package provided by Univ. of Tennessee, -- * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- -* November 2006 +* November 2011 * * .. Scalar Arguments .. INTEGER INCC, INCX, N @@ -13,46 +124,6 @@ COMPLEX*16 S( * ), X( * ), Y( * ), Z( * ) * .. * -* Purpose -* ======= -* -* ZLAR2V applies a vector of complex plane rotations with real cosines -* from both sides to a sequence of 2-by-2 complex Hermitian matrices, -* defined by the elements of the vectors x, y and z. For i = 1,2,...,n -* -* ( x(i) z(i) ) := -* ( conjg(z(i)) y(i) ) -* -* ( c(i) conjg(s(i)) ) ( x(i) z(i) ) ( c(i) -conjg(s(i)) ) -* ( -s(i) c(i) ) ( conjg(z(i)) y(i) ) ( s(i) c(i) ) -* -* Arguments -* ========= -* -* N (input) INTEGER -* The number of plane rotations to be applied. -* -* X (input/output) COMPLEX*16 array, dimension (1+(N-1)*INCX) -* The vector x; the elements of x are assumed to be real. -* -* Y (input/output) COMPLEX*16 array, dimension (1+(N-1)*INCX) -* The vector y; the elements of y are assumed to be real. -* -* Z (input/output) COMPLEX*16 array, dimension (1+(N-1)*INCX) -* The vector z. -* -* INCX (input) INTEGER -* The increment between elements of X, Y and Z. INCX > 0. -* -* C (input) DOUBLE PRECISION array, dimension (1+(N-1)*INCC) -* The cosines of the plane rotations. -* -* S (input) COMPLEX*16 array, dimension (1+(N-1)*INCC) -* The sines of the plane rotations. -* -* INCC (input) INTEGER -* The increment between elements of C and S. INCC > 0. -* * ===================================================================== * * .. Local Scalars ..