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/slartg.f | |
parent | 5fe0466a14e395641f4f8a300ecc9dcb8058081b (diff) | |
download | lapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.gz lapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.bz2 lapack-e1d39294aee16fa6db9ba079b14442358217db71.zip |
Integrating Doxygen in comments
Diffstat (limited to 'SRC/slartg.f')
-rw-r--r-- | SRC/slartg.f | 119 |
1 files changed, 85 insertions, 34 deletions
diff --git a/SRC/slartg.f b/SRC/slartg.f index 4a7aae19..b7e6c6fd 100644 --- a/SRC/slartg.f +++ b/SRC/slartg.f @@ -1,52 +1,103 @@ - SUBROUTINE SLARTG( F, G, CS, SN, R ) +*> \brief \b SLARTG * -* -- 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 .. - REAL CS, F, G, R, SN -* .. +* Online html documentation available at +* http://www.netlib.org/lapack/explore-html/ +* +* Definition +* ========== * +* SUBROUTINE SLARTG( F, G, CS, SN, R ) +* +* .. Scalar Arguments .. +* REAL CS, F, G, R, SN +* .. +* * Purpose * ======= * -* SLARTG generate a plane rotation so that -* -* [ CS SN ] . [ F ] = [ R ] where CS**2 + SN**2 = 1. -* [ -SN CS ] [ G ] [ 0 ] -* -* This is a slower, more accurate version of the BLAS1 routine SROTG, -* with the following other differences: -* F and G are unchanged on return. -* If G=0, then CS=1 and SN=0. -* If F=0 and (G .ne. 0), then CS=0 and SN=1 without doing any -* floating point operations (saves work in SBDSQR when -* there are zeros on the diagonal). -* -* If F exceeds G in magnitude, CS will be positive. +*>\details \b Purpose: +*>\verbatim +*> +*> SLARTG generate a plane rotation so that +*> +*> [ CS SN ] . [ F ] = [ R ] where CS**2 + SN**2 = 1. +*> [ -SN CS ] [ G ] [ 0 ] +*> +*> This is a slower, more accurate version of the BLAS1 routine SROTG, +*> with the following other differences: +*> F and G are unchanged on return. +*> If G=0, then CS=1 and SN=0. +*> If F=0 and (G .ne. 0), then CS=0 and SN=1 without doing any +*> floating point operations (saves work in SBDSQR when +*> there are zeros on the diagonal). +*> +*> If F exceeds G in magnitude, CS will be positive. +*> +*>\endverbatim * * Arguments * ========= * -* F (input) REAL -* The first component of vector to be rotated. +*> \param[in] F +*> \verbatim +*> F is REAL +*> The first component of vector to be rotated. +*> \endverbatim +*> +*> \param[in] G +*> \verbatim +*> G is REAL +*> The second component of vector to be rotated. +*> \endverbatim +*> +*> \param[out] CS +*> \verbatim +*> CS is REAL +*> The cosine of the rotation. +*> \endverbatim +*> +*> \param[out] SN +*> \verbatim +*> SN is REAL +*> The sine of the rotation. +*> \endverbatim +*> +*> \param[out] R +*> \verbatim +*> R is REAL +*> The nonzero component of the rotated vector. +*> \endverbatim +*> \verbatim +*> This version has a few statements commented out for thread safety +*> (machine parameters are computed on each entry). 10 feb 03, SJH. +*> \endverbatim +*> +* +* Authors +* ======= * -* G (input) REAL -* The second component of vector to be rotated. +*> \author Univ. of Tennessee +*> \author Univ. of California Berkeley +*> \author Univ. of Colorado Denver +*> \author NAG Ltd. * -* CS (output) REAL -* The cosine of the rotation. +*> \date November 2011 * -* SN (output) REAL -* The sine of the rotation. +*> \ingroup auxOTHERauxiliary * -* R (output) REAL -* The nonzero component of the rotated vector. +* ===================================================================== + SUBROUTINE SLARTG( F, G, CS, SN, R ) +* +* -- 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 .. + REAL CS, F, G, R, SN +* .. * * ===================================================================== * |