summaryrefslogtreecommitdiff
path: root/SRC/clargv.f
diff options
context:
space:
mode:
authorjulie <julielangou@users.noreply.github.com>2011-10-06 06:53:11 +0000
committerjulie <julielangou@users.noreply.github.com>2011-10-06 06:53:11 +0000
commite1d39294aee16fa6db9ba079b14442358217db71 (patch)
tree30e5aa04c1f6596991fda5334f63dfb9b8027849 /SRC/clargv.f
parent5fe0466a14e395641f4f8a300ecc9dcb8058081b (diff)
downloadlapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.gz
lapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.bz2
lapack-e1d39294aee16fa6db9ba079b14442358217db71.zip
Integrating Doxygen in comments
Diffstat (limited to 'SRC/clargv.f')
-rw-r--r--SRC/clargv.f155
1 files changed, 110 insertions, 45 deletions
diff --git a/SRC/clargv.f b/SRC/clargv.f
index 97ff56ad..072b3e32 100644
--- a/SRC/clargv.f
+++ b/SRC/clargv.f
@@ -1,68 +1,133 @@
- SUBROUTINE CLARGV( N, X, INCX, Y, INCY, C, INCC )
+*> \brief \b CLARGV
*
-* -- LAPACK auxiliary routine (version 3.2) --
-* -- LAPACK is a software package provided by Univ. of Tennessee, --
-* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
-* November 2006
+* =========== DOCUMENTATION ===========
*
-* .. Scalar Arguments ..
- INTEGER INCC, INCX, INCY, N
-* ..
-* .. Array Arguments ..
- REAL C( * )
- COMPLEX X( * ), Y( * )
-* ..
+* Online html documentation available at
+* http://www.netlib.org/lapack/explore-html/
+*
+* Definition
+* ==========
*
+* SUBROUTINE CLARGV( N, X, INCX, Y, INCY, C, INCC )
+*
+* .. Scalar Arguments ..
+* INTEGER INCC, INCX, INCY, N
+* ..
+* .. Array Arguments ..
+* REAL C( * )
+* COMPLEX X( * ), Y( * )
+* ..
+*
* Purpose
* =======
*
-* CLARGV generates a vector of complex plane rotations with real
-* cosines, determined by elements of the complex vectors x and y.
-* For i = 1,2,...,n
-*
-* ( c(i) s(i) ) ( x(i) ) = ( r(i) )
-* ( -conjg(s(i)) c(i) ) ( y(i) ) = ( 0 )
-*
-* where c(i)**2 + ABS(s(i))**2 = 1
-*
-* The following conventions are used (these are the same as in CLARTG,
-* but differ from the BLAS1 routine CROTG):
-* If y(i)=0, then c(i)=1 and s(i)=0.
-* If x(i)=0, then c(i)=0 and s(i) is chosen so that r(i) is real.
+*>\details \b Purpose:
+*>\verbatim
+*>
+*> CLARGV generates a vector of complex plane rotations with real
+*> cosines, determined by elements of the complex vectors x and y.
+*> For i = 1,2,...,n
+*>
+*> ( c(i) s(i) ) ( x(i) ) = ( r(i) )
+*> ( -conjg(s(i)) c(i) ) ( y(i) ) = ( 0 )
+*>
+*> where c(i)**2 + ABS(s(i))**2 = 1
+*>
+*> The following conventions are used (these are the same as in CLARTG,
+*> but differ from the BLAS1 routine CROTG):
+*> If y(i)=0, then c(i)=1 and s(i)=0.
+*> If x(i)=0, then c(i)=0 and s(i) is chosen so that r(i) is real.
+*>
+*>\endverbatim
*
* Arguments
* =========
*
-* N (input) INTEGER
-* The number of plane rotations to be generated.
+*> \param[in] N
+*> \verbatim
+*> N is INTEGER
+*> The number of plane rotations to be generated.
+*> \endverbatim
+*>
+*> \param[in,out] X
+*> \verbatim
+*> X is COMPLEX array, dimension (1+(N-1)*INCX)
+*> On entry, the vector x.
+*> On exit, x(i) is overwritten by r(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 COMPLEX 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 REAL 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
+*>
*
-* X (input/output) COMPLEX array, dimension (1+(N-1)*INCX)
-* On entry, the vector x.
-* On exit, x(i) is overwritten by r(i), for i = 1,...,n.
-*
-* INCX (input) INTEGER
-* The increment between elements of X. INCX > 0.
+* Authors
+* =======
*
-* Y (input/output) COMPLEX array, dimension (1+(N-1)*INCY)
-* On entry, the vector y.
-* On exit, the sines of the plane rotations.
+*> \author Univ. of Tennessee
+*> \author Univ. of California Berkeley
+*> \author Univ. of Colorado Denver
+*> \author NAG Ltd.
*
-* INCY (input) INTEGER
-* The increment between elements of Y. INCY > 0.
+*> \date November 2011
*
-* C (output) REAL array, dimension (1+(N-1)*INCC)
-* The cosines of the plane rotations.
+*> \ingroup complexOTHERauxiliary
*
-* INCC (input) INTEGER
-* The increment between elements of C. INCC > 0.
*
* Further Details
* ===============
+*>\details \b Further \b Details
+*> \verbatim
+*>
+*> 6-6-96 - Modified with a new algorithm by W. Kahan and J. Demmel
+*>
+*> This version has a few statements commented out for thread safety
+*> (machine parameters are computed on each entry). 10 feb 03, SJH.
+*>
+*> \endverbatim
+*>
+* =====================================================================
+ SUBROUTINE CLARGV( N, X, INCX, Y, INCY, C, INCC )
*
-* 6-6-96 - Modified with a new algorithm by W. Kahan and J. Demmel
+* -- LAPACK auxiliary routine (version 3.2) --
+* -- LAPACK is a software package provided by Univ. of Tennessee, --
+* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
+* November 2011
*
-* This version has a few statements commented out for thread safety
-* (machine parameters are computed on each entry). 10 feb 03, SJH.
+* .. Scalar Arguments ..
+ INTEGER INCC, INCX, INCY, N
+* ..
+* .. Array Arguments ..
+ REAL C( * )
+ COMPLEX X( * ), Y( * )
+* ..
*
* =====================================================================
*