--- rpl/lapack/lapack/dlar2v.f 2010/12/21 13:53:31 1.7 +++ rpl/lapack/lapack/dlar2v.f 2011/11/21 20:42:57 1.8 @@ -1,9 +1,119 @@ +*> \brief \b DLAR2V +* +* =========== DOCUMENTATION =========== +* +* Online html documentation available at +* http://www.netlib.org/lapack/explore-html/ +* +*> \htmlonly +*> Download DLAR2V + dependencies +*> +*> [TGZ] +*> +*> [ZIP] +*> +*> [TXT] +*> \endhtmlonly +* +* Definition: +* =========== +* +* SUBROUTINE DLAR2V( N, X, Y, Z, INCX, C, S, INCC ) +* +* .. Scalar Arguments .. +* INTEGER INCC, INCX, N +* .. +* .. Array Arguments .. +* DOUBLE PRECISION C( * ), S( * ), X( * ), Y( * ), Z( * ) +* .. +* +* +*> \par Purpose: +* ============= +*> +*> \verbatim +*> +*> DLAR2V applies a vector of real plane rotations from both sides to +*> a sequence of 2-by-2 real symmetric matrices, defined by the elements +*> of the vectors x, y and z. For i = 1,2,...,n +*> +*> ( x(i) z(i) ) := ( c(i) s(i) ) ( x(i) z(i) ) ( c(i) -s(i) ) +*> ( z(i) y(i) ) ( -s(i) c(i) ) ( 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 DOUBLE PRECISION array, +*> dimension (1+(N-1)*INCX) +*> The vector x. +*> \endverbatim +*> +*> \param[in,out] Y +*> \verbatim +*> Y is DOUBLE PRECISION array, +*> dimension (1+(N-1)*INCX) +*> The vector y. +*> \endverbatim +*> +*> \param[in,out] Z +*> \verbatim +*> Z is DOUBLE PRECISION 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 DOUBLE PRECISION 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 doubleOTHERauxiliary +* +* ===================================================================== SUBROUTINE DLAR2V( 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 @@ -12,46 +122,6 @@ DOUBLE PRECISION C( * ), S( * ), X( * ), Y( * ), Z( * ) * .. * -* Purpose -* ======= -* -* DLAR2V applies a vector of real plane rotations from both sides to -* a sequence of 2-by-2 real symmetric matrices, defined by the elements -* of the vectors x, y and z. For i = 1,2,...,n -* -* ( x(i) z(i) ) := ( c(i) s(i) ) ( x(i) z(i) ) ( c(i) -s(i) ) -* ( z(i) y(i) ) ( -s(i) c(i) ) ( z(i) y(i) ) ( s(i) c(i) ) -* -* Arguments -* ========= -* -* N (input) INTEGER -* The number of plane rotations to be applied. -* -* X (input/output) DOUBLE PRECISION array, -* dimension (1+(N-1)*INCX) -* The vector x. -* -* Y (input/output) DOUBLE PRECISION array, -* dimension (1+(N-1)*INCX) -* The vector y. -* -* Z (input/output) DOUBLE PRECISION 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) DOUBLE PRECISION 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 ..