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/cgesc2.f | |
parent | 5fe0466a14e395641f4f8a300ecc9dcb8058081b (diff) | |
download | lapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.gz lapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.bz2 lapack-e1d39294aee16fa6db9ba079b14442358217db71.zip |
Integrating Doxygen in comments
Diffstat (limited to 'SRC/cgesc2.f')
-rw-r--r-- | SRC/cgesc2.f | 160 |
1 files changed, 113 insertions, 47 deletions
diff --git a/SRC/cgesc2.f b/SRC/cgesc2.f index 0335547b..30a5b670 100644 --- a/SRC/cgesc2.f +++ b/SRC/cgesc2.f @@ -1,65 +1,131 @@ - SUBROUTINE CGESC2( N, A, LDA, RHS, IPIV, JPIV, SCALE ) -* -* -- 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 -* -* .. Scalar Arguments .. - INTEGER LDA, N - REAL SCALE -* .. -* .. Array Arguments .. - INTEGER IPIV( * ), JPIV( * ) - COMPLEX A( LDA, * ), RHS( * ) -* .. -* +*> \brief \b CGESC2 +* +* =========== DOCUMENTATION =========== +* +* Online html documentation available at +* http://www.netlib.org/lapack/explore-html/ +* +* Definition +* ========== +* +* SUBROUTINE CGESC2( N, A, LDA, RHS, IPIV, JPIV, SCALE ) +* +* .. Scalar Arguments .. +* INTEGER LDA, N +* REAL SCALE +* .. +* .. Array Arguments .. +* INTEGER IPIV( * ), JPIV( * ) +* COMPLEX A( LDA, * ), RHS( * ) +* .. +* * Purpose * ======= * -* CGESC2 solves a system of linear equations -* -* A * X = scale* RHS -* -* with a general N-by-N matrix A using the LU factorization with -* complete pivoting computed by CGETC2. -* +*>\details \b Purpose: +*>\verbatim +*> +*> CGESC2 solves a system of linear equations +*> +*> A * X = scale* RHS +*> +*> with a general N-by-N matrix A using the LU factorization with +*> complete pivoting computed by CGETC2. +*> +*> +*>\endverbatim * * Arguments * ========= * -* N (input) INTEGER -* The number of columns of the matrix A. -* -* A (input) COMPLEX array, dimension (LDA, N) -* On entry, the LU part of the factorization of the n-by-n -* matrix A computed by CGETC2: A = P * L * U * Q -* -* LDA (input) INTEGER -* The leading dimension of the array A. LDA >= max(1, N). +*> \param[in] N +*> \verbatim +*> N is INTEGER +*> The number of columns of the matrix A. +*> \endverbatim +*> +*> \param[in] A +*> \verbatim +*> A is COMPLEX array, dimension (LDA, N) +*> On entry, the LU part of the factorization of the n-by-n +*> matrix A computed by CGETC2: A = P * L * U * Q +*> \endverbatim +*> +*> \param[in] LDA +*> \verbatim +*> LDA is INTEGER +*> The leading dimension of the array A. LDA >= max(1, N). +*> \endverbatim +*> +*> \param[in,out] RHS +*> \verbatim +*> RHS is COMPLEX array, dimension N. +*> On entry, the right hand side vector b. +*> On exit, the solution vector X. +*> \endverbatim +*> +*> \param[in] IPIV +*> \verbatim +*> IPIV is INTEGER array, dimension (N). +*> The pivot indices; for 1 <= i <= N, row i of the +*> matrix has been interchanged with row IPIV(i). +*> \endverbatim +*> +*> \param[in] JPIV +*> \verbatim +*> JPIV is INTEGER array, dimension (N). +*> The pivot indices; for 1 <= j <= N, column j of the +*> matrix has been interchanged with column JPIV(j). +*> \endverbatim +*> +*> \param[out] SCALE +*> \verbatim +*> SCALE is REAL +*> On exit, SCALE contains the scale factor. SCALE is chosen +*> 0 <= SCALE <= 1 to prevent owerflow in the solution. +*> \endverbatim +*> +* +* Authors +* ======= * -* RHS (input/output) COMPLEX array, dimension N. -* On entry, the right hand side vector b. -* On exit, the solution vector X. +*> \author Univ. of Tennessee +*> \author Univ. of California Berkeley +*> \author Univ. of Colorado Denver +*> \author NAG Ltd. * -* IPIV (input) INTEGER array, dimension (N). -* The pivot indices; for 1 <= i <= N, row i of the -* matrix has been interchanged with row IPIV(i). +*> \date November 2011 * -* JPIV (input) INTEGER array, dimension (N). -* The pivot indices; for 1 <= j <= N, column j of the -* matrix has been interchanged with column JPIV(j). +*> \ingroup complexGEauxiliary * -* SCALE (output) REAL -* On exit, SCALE contains the scale factor. SCALE is chosen -* 0 <= SCALE <= 1 to prevent owerflow in the solution. * * Further Details * =============== +*>\details \b Further \b Details +*> \verbatim +*> +*> Based on contributions by +*> Bo Kagstrom and Peter Poromaa, Department of Computing Science, +*> Umea University, S-901 87 Umea, Sweden. +*> +*> \endverbatim +*> +* ===================================================================== + SUBROUTINE CGESC2( N, A, LDA, RHS, IPIV, JPIV, SCALE ) +* +* -- 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 * -* Based on contributions by -* Bo Kagstrom and Peter Poromaa, Department of Computing Science, -* Umea University, S-901 87 Umea, Sweden. +* .. Scalar Arguments .. + INTEGER LDA, N + REAL SCALE +* .. +* .. Array Arguments .. + INTEGER IPIV( * ), JPIV( * ) + COMPLEX A( LDA, * ), RHS( * ) +* .. * * ===================================================================== * |