version 1.4, 2010/08/06 15:32:28
|
version 1.18, 2023/08/07 08:38:57
|
Line 1
|
Line 1
|
|
*> \brief \b DLARGV generates a vector of plane rotations with real cosines and real sines. |
|
* |
|
* =========== DOCUMENTATION =========== |
|
* |
|
* Online html documentation available at |
|
* http://www.netlib.org/lapack/explore-html/ |
|
* |
|
*> \htmlonly |
|
*> Download DLARGV + dependencies |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlargv.f"> |
|
*> [TGZ]</a> |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlargv.f"> |
|
*> [ZIP]</a> |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlargv.f"> |
|
*> [TXT]</a> |
|
*> \endhtmlonly |
|
* |
|
* Definition: |
|
* =========== |
|
* |
|
* SUBROUTINE DLARGV( N, X, INCX, Y, INCY, C, INCC ) |
|
* |
|
* .. Scalar Arguments .. |
|
* INTEGER INCC, INCX, INCY, N |
|
* .. |
|
* .. Array Arguments .. |
|
* DOUBLE PRECISION C( * ), X( * ), Y( * ) |
|
* .. |
|
* |
|
* |
|
*> \par Purpose: |
|
* ============= |
|
*> |
|
*> \verbatim |
|
*> |
|
*> DLARGV generates a vector of real plane rotations, determined by |
|
*> elements of the real vectors x and y. For i = 1,2,...,n |
|
*> |
|
*> ( c(i) s(i) ) ( x(i) ) = ( a(i) ) |
|
*> ( -s(i) c(i) ) ( y(i) ) = ( 0 ) |
|
*> \endverbatim |
|
* |
|
* Arguments: |
|
* ========== |
|
* |
|
*> \param[in] N |
|
*> \verbatim |
|
*> N is INTEGER |
|
*> The number of plane rotations to be generated. |
|
*> \endverbatim |
|
*> |
|
*> \param[in,out] X |
|
*> \verbatim |
|
*> X is DOUBLE PRECISION array, |
|
*> dimension (1+(N-1)*INCX) |
|
*> On entry, the vector x. |
|
*> On exit, x(i) is overwritten by a(i), for i = 1,...,n. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] INCX |
|
*> \verbatim |
|
*> INCX is INTEGER |
|
*> The increment between elements of X. INCX > 0. |
|
*> \endverbatim |
|
*> |
|
*> \param[in,out] Y |
|
*> \verbatim |
|
*> Y is DOUBLE PRECISION array, |
|
*> dimension (1+(N-1)*INCY) |
|
*> On entry, the vector y. |
|
*> On exit, the sines of the plane rotations. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] INCY |
|
*> \verbatim |
|
*> INCY is INTEGER |
|
*> The increment between elements of Y. INCY > 0. |
|
*> \endverbatim |
|
*> |
|
*> \param[out] C |
|
*> \verbatim |
|
*> C is DOUBLE PRECISION array, dimension (1+(N-1)*INCC) |
|
*> The cosines of the plane rotations. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] INCC |
|
*> \verbatim |
|
*> INCC is INTEGER |
|
*> The increment between elements of C. INCC > 0. |
|
*> \endverbatim |
|
* |
|
* Authors: |
|
* ======== |
|
* |
|
*> \author Univ. of Tennessee |
|
*> \author Univ. of California Berkeley |
|
*> \author Univ. of Colorado Denver |
|
*> \author NAG Ltd. |
|
* |
|
*> \ingroup doubleOTHERauxiliary |
|
* |
|
* ===================================================================== |
SUBROUTINE DLARGV( N, X, INCX, Y, INCY, C, INCC ) |
SUBROUTINE DLARGV( N, X, INCX, Y, INCY, C, INCC ) |
* |
* |
* -- LAPACK auxiliary routine (version 3.2) -- |
* -- LAPACK auxiliary routine -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* November 2006 |
|
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
INTEGER INCC, INCX, INCY, N |
INTEGER INCC, INCX, INCY, N |
Line 12
|
Line 113
|
DOUBLE PRECISION C( * ), X( * ), Y( * ) |
DOUBLE PRECISION C( * ), X( * ), Y( * ) |
* .. |
* .. |
* |
* |
* Purpose |
|
* ======= |
|
* |
|
* DLARGV generates a vector of real plane rotations, determined by |
|
* elements of the real vectors x and y. For i = 1,2,...,n |
|
* |
|
* ( c(i) s(i) ) ( x(i) ) = ( a(i) ) |
|
* ( -s(i) c(i) ) ( y(i) ) = ( 0 ) |
|
* |
|
* Arguments |
|
* ========= |
|
* |
|
* N (input) INTEGER |
|
* The number of plane rotations to be generated. |
|
* |
|
* X (input/output) DOUBLE PRECISION array, |
|
* dimension (1+(N-1)*INCX) |
|
* On entry, the vector x. |
|
* On exit, x(i) is overwritten by a(i), for i = 1,...,n. |
|
* |
|
* INCX (input) INTEGER |
|
* The increment between elements of X. INCX > 0. |
|
* |
|
* Y (input/output) DOUBLE PRECISION array, |
|
* dimension (1+(N-1)*INCY) |
|
* On entry, the vector y. |
|
* On exit, the sines of the plane rotations. |
|
* |
|
* INCY (input) INTEGER |
|
* The increment between elements of Y. INCY > 0. |
|
* |
|
* C (output) DOUBLE PRECISION array, dimension (1+(N-1)*INCC) |
|
* The cosines of the plane rotations. |
|
* |
|
* INCC (input) INTEGER |
|
* The increment between elements of C. INCC > 0. |
|
* |
|
* ===================================================================== |
* ===================================================================== |
* |
* |
* .. Parameters .. |
* .. Parameters .. |