diff options
author | julie <julielangou@users.noreply.github.com> | 2011-10-06 06:53:11 +0000 |
---|---|---|
committer | julie <julielangou@users.noreply.github.com> | 2011-10-06 06:53:11 +0000 |
commit | e1d39294aee16fa6db9ba079b14442358217db71 (patch) | |
tree | 30e5aa04c1f6596991fda5334f63dfb9b8027849 /SRC/zlaesy.f | |
parent | 5fe0466a14e395641f4f8a300ecc9dcb8058081b (diff) | |
download | lapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.gz lapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.bz2 lapack-e1d39294aee16fa6db9ba079b14442358217db71.zip |
Integrating Doxygen in comments
Diffstat (limited to 'SRC/zlaesy.f')
-rw-r--r-- | SRC/zlaesy.f | 143 |
1 files changed, 101 insertions, 42 deletions
diff --git a/SRC/zlaesy.f b/SRC/zlaesy.f index e56bfebf..a5f6923b 100644 --- a/SRC/zlaesy.f +++ b/SRC/zlaesy.f @@ -1,61 +1,120 @@ - SUBROUTINE ZLAESY( A, B, C, RT1, RT2, EVSCAL, CS1, SN1 ) +*> \brief \b ZLAESY * -* -- 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 .. - COMPLEX*16 A, B, C, CS1, EVSCAL, RT1, RT2, SN1 -* .. +* Online html documentation available at +* http://www.netlib.org/lapack/explore-html/ +* +* Definition +* ========== * +* SUBROUTINE ZLAESY( A, B, C, RT1, RT2, EVSCAL, CS1, SN1 ) +* +* .. Scalar Arguments .. +* COMPLEX*16 A, B, C, CS1, EVSCAL, RT1, RT2, SN1 +* .. +* * Purpose * ======= * -* ZLAESY computes the eigendecomposition of a 2-by-2 symmetric matrix -* ( ( A, B );( B, C ) ) -* provided the norm of the matrix of eigenvectors is larger than -* some threshold value. -* -* RT1 is the eigenvalue of larger absolute value, and RT2 of -* smaller absolute value. If the eigenvectors are computed, then -* on return ( CS1, SN1 ) is the unit eigenvector for RT1, hence -* -* [ CS1 SN1 ] . [ A B ] . [ CS1 -SN1 ] = [ RT1 0 ] -* [ -SN1 CS1 ] [ B C ] [ SN1 CS1 ] [ 0 RT2 ] +*>\details \b Purpose: +*>\verbatim +*> +*> ZLAESY computes the eigendecomposition of a 2-by-2 symmetric matrix +*> ( ( A, B );( B, C ) ) +*> provided the norm of the matrix of eigenvectors is larger than +*> some threshold value. +*> +*> RT1 is the eigenvalue of larger absolute value, and RT2 of +*> smaller absolute value. If the eigenvectors are computed, then +*> on return ( CS1, SN1 ) is the unit eigenvector for RT1, hence +*> +*> [ CS1 SN1 ] . [ A B ] . [ CS1 -SN1 ] = [ RT1 0 ] +*> [ -SN1 CS1 ] [ B C ] [ SN1 CS1 ] [ 0 RT2 ] +*> +*>\endverbatim * * Arguments * ========= * -* A (input) COMPLEX*16 -* The ( 1, 1 ) element of input matrix. -* -* B (input) COMPLEX*16 -* The ( 1, 2 ) element of input matrix. The ( 2, 1 ) element -* is also given by B, since the 2-by-2 matrix is symmetric. +*> \param[in] A +*> \verbatim +*> A is COMPLEX*16 +*> The ( 1, 1 ) element of input matrix. +*> \endverbatim +*> +*> \param[in] B +*> \verbatim +*> B is COMPLEX*16 +*> The ( 1, 2 ) element of input matrix. The ( 2, 1 ) element +*> is also given by B, since the 2-by-2 matrix is symmetric. +*> \endverbatim +*> +*> \param[in] C +*> \verbatim +*> C is COMPLEX*16 +*> The ( 2, 2 ) element of input matrix. +*> \endverbatim +*> +*> \param[out] RT1 +*> \verbatim +*> RT1 is COMPLEX*16 +*> The eigenvalue of larger modulus. +*> \endverbatim +*> +*> \param[out] RT2 +*> \verbatim +*> RT2 is COMPLEX*16 +*> The eigenvalue of smaller modulus. +*> \endverbatim +*> +*> \param[out] EVSCAL +*> \verbatim +*> EVSCAL is COMPLEX*16 +*> The complex value by which the eigenvector matrix was scaled +*> to make it orthonormal. If EVSCAL is zero, the eigenvectors +*> were not computed. This means one of two things: the 2-by-2 +*> matrix could not be diagonalized, or the norm of the matrix +*> of eigenvectors before scaling was larger than the threshold +*> value THRESH (set below). +*> \endverbatim +*> +*> \param[out] CS1 +*> \verbatim +*> CS1 is COMPLEX*16 +*> \endverbatim +*> +*> \param[out] SN1 +*> \verbatim +*> SN1 is COMPLEX*16 +*> If EVSCAL .NE. 0, ( CS1, SN1 ) is the unit right eigenvector +*> for RT1. +*> \endverbatim +*> +* +* Authors +* ======= * -* C (input) COMPLEX*16 -* The ( 2, 2 ) element of input matrix. +*> \author Univ. of Tennessee +*> \author Univ. of California Berkeley +*> \author Univ. of Colorado Denver +*> \author NAG Ltd. * -* RT1 (output) COMPLEX*16 -* The eigenvalue of larger modulus. +*> \date November 2011 * -* RT2 (output) COMPLEX*16 -* The eigenvalue of smaller modulus. +*> \ingroup complex16SYauxiliary * -* EVSCAL (output) COMPLEX*16 -* The complex value by which the eigenvector matrix was scaled -* to make it orthonormal. If EVSCAL is zero, the eigenvectors -* were not computed. This means one of two things: the 2-by-2 -* matrix could not be diagonalized, or the norm of the matrix -* of eigenvectors before scaling was larger than the threshold -* value THRESH (set below). +* ===================================================================== + SUBROUTINE ZLAESY( A, B, C, RT1, RT2, EVSCAL, CS1, SN1 ) * -* CS1 (output) COMPLEX*16 +* -- 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 * -* SN1 (output) COMPLEX*16 -* If EVSCAL .NE. 0, ( CS1, SN1 ) is the unit right eigenvector -* for RT1. +* .. Scalar Arguments .. + COMPLEX*16 A, B, C, CS1, EVSCAL, RT1, RT2, SN1 +* .. * * ===================================================================== * |