summaryrefslogtreecommitdiff
path: root/SRC/slasq2.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/slasq2.f
parent5fe0466a14e395641f4f8a300ecc9dcb8058081b (diff)
downloadlapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.gz
lapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.bz2
lapack-e1d39294aee16fa6db9ba079b14442358217db71.zip
Integrating Doxygen in comments
Diffstat (limited to 'SRC/slasq2.f')
-rw-r--r--SRC/slasq2.f159
1 files changed, 103 insertions, 56 deletions
diff --git a/SRC/slasq2.f b/SRC/slasq2.f
index 47af6149..c3a75599 100644
--- a/SRC/slasq2.f
+++ b/SRC/slasq2.f
@@ -1,74 +1,121 @@
- SUBROUTINE SLASQ2( N, Z, INFO )
+*> \brief \b SLASQ2
*
-* -- LAPACK routine (version 3.2) --
+* =========== DOCUMENTATION ===========
*
-* -- Contributed by Osni Marques of the Lawrence Berkeley National --
-* -- Laboratory and Beresford Parlett of the Univ. of California at --
-* -- Berkeley --
-* -- November 2008 --
+* Online html documentation available at
+* http://www.netlib.org/lapack/explore-html/
*
-* -- LAPACK is a software package provided by Univ. of Tennessee, --
-* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
-*
-* .. Scalar Arguments ..
- INTEGER INFO, N
-* ..
-* .. Array Arguments ..
- REAL Z( * )
-* ..
+* Definition
+* ==========
*
+* SUBROUTINE SLASQ2( N, Z, INFO )
+*
+* .. Scalar Arguments ..
+* INTEGER INFO, N
+* ..
+* .. Array Arguments ..
+* REAL Z( * )
+* ..
+*
* Purpose
* =======
*
-* SLASQ2 computes all the eigenvalues of the symmetric positive
-* definite tridiagonal matrix associated with the qd array Z to high
-* relative accuracy are computed to high relative accuracy, in the
-* absence of denormalization, underflow and overflow.
-*
-* To see the relation of Z to the tridiagonal matrix, let L be a
-* unit lower bidiagonal matrix with subdiagonals Z(2,4,6,,..) and
-* let U be an upper bidiagonal matrix with 1's above and diagonal
-* Z(1,3,5,,..). The tridiagonal is L*U or, if you prefer, the
-* symmetric tridiagonal to which it is similar.
-*
-* Note : SLASQ2 defines a logical variable, IEEE, which is true
-* on machines which follow ieee-754 floating-point standard in their
-* handling of infinities and NaNs, and false otherwise. This variable
-* is passed to SLASQ3.
+*>\details \b Purpose:
+*>\verbatim
+*>
+*> SLASQ2 computes all the eigenvalues of the symmetric positive
+*> definite tridiagonal matrix associated with the qd array Z to high
+*> relative accuracy are computed to high relative accuracy, in the
+*> absence of denormalization, underflow and overflow.
+*>
+*> To see the relation of Z to the tridiagonal matrix, let L be a
+*> unit lower bidiagonal matrix with subdiagonals Z(2,4,6,,..) and
+*> let U be an upper bidiagonal matrix with 1's above and diagonal
+*> Z(1,3,5,,..). The tridiagonal is L*U or, if you prefer, the
+*> symmetric tridiagonal to which it is similar.
+*>
+*> Note : SLASQ2 defines a logical variable, IEEE, which is true
+*> on machines which follow ieee-754 floating-point standard in their
+*> handling of infinities and NaNs, and false otherwise. This variable
+*> is passed to SLASQ3.
+*>
+*>\endverbatim
*
* Arguments
* =========
*
-* N (input) INTEGER
-* The number of rows and columns in the matrix. N >= 0.
-*
-* Z (input/output) REAL array, dimension ( 4*N )
-* On entry Z holds the qd array. On exit, entries 1 to N hold
-* the eigenvalues in decreasing order, Z( 2*N+1 ) holds the
-* trace, and Z( 2*N+2 ) holds the sum of the eigenvalues. If
-* N > 2, then Z( 2*N+3 ) holds the iteration count, Z( 2*N+4 )
-* holds NDIVS/NIN^2, and Z( 2*N+5 ) holds the percentage of
-* shifts that failed.
-*
-* INFO (output) INTEGER
-* = 0: successful exit
-* < 0: if the i-th argument is a scalar and had an illegal
-* value, then INFO = -i, if the i-th argument is an
-* array and the j-entry had an illegal value, then
-* INFO = -(i*100+j)
-* > 0: the algorithm failed
-* = 1, a split was marked by a positive value in E
-* = 2, current block of Z not diagonalized after 100*N
-* iterations (in inner while loop). On exit Z holds
-* a qd array with the same eigenvalues as the given Z.
-* = 3, termination criterion of outer while loop not met
-* (program created more than N unreduced blocks)
+*> \param[in] N
+*> \verbatim
+*> N is INTEGER
+*> The number of rows and columns in the matrix. N >= 0.
+*> \endverbatim
+*>
+*> \param[in,out] Z
+*> \verbatim
+*> Z is REAL array, dimension ( 4*N )
+*> On entry Z holds the qd array. On exit, entries 1 to N hold
+*> the eigenvalues in decreasing order, Z( 2*N+1 ) holds the
+*> trace, and Z( 2*N+2 ) holds the sum of the eigenvalues. If
+*> N > 2, then Z( 2*N+3 ) holds the iteration count, Z( 2*N+4 )
+*> holds NDIVS/NIN^2, and Z( 2*N+5 ) holds the percentage of
+*> shifts that failed.
+*> \endverbatim
+*>
+*> \param[out] INFO
+*> \verbatim
+*> INFO is INTEGER
+*> = 0: successful exit
+*> < 0: if the i-th argument is a scalar and had an illegal
+*> value, then INFO = -i, if the i-th argument is an
+*> array and the j-entry had an illegal value, then
+*> INFO = -(i*100+j)
+*> > 0: the algorithm failed
+*> = 1, a split was marked by a positive value in E
+*> = 2, current block of Z not diagonalized after 100*N
+*> iterations (in inner while loop). On exit Z holds
+*> a qd array with the same eigenvalues as the given Z.
+*> = 3, termination criterion of outer while loop not met
+*> (program created more than N unreduced blocks)
+*> \endverbatim
+*>
+*
+* Authors
+* =======
+*
+*> \author Univ. of Tennessee
+*> \author Univ. of California Berkeley
+*> \author Univ. of Colorado Denver
+*> \author NAG Ltd.
+*
+*> \date November 2011
+*
+*> \ingroup auxOTHERcomputational
+*
*
* Further Details
* ===============
+*>\details \b Further \b Details
+*> \verbatim
* Local Variables: I0:N0 defines a current unreduced segment of Z.
-* The shifts are accumulated in SIGMA. Iteration count is in ITER.
-* Ping-pong is controlled by PP (alternates between 0 and 1).
+*> The shifts are accumulated in SIGMA. Iteration count is in ITER.
+*> Ping-pong is controlled by PP (alternates between 0 and 1).
+*>
+*> \endverbatim
+*>
+* =====================================================================
+ SUBROUTINE SLASQ2( N, Z, INFO )
+*
+* -- LAPACK computational 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
+*
+* .. Scalar Arguments ..
+ INTEGER INFO, N
+* ..
+* .. Array Arguments ..
+ REAL Z( * )
+* ..
*
* =====================================================================
*