aboutsummaryrefslogtreecommitdiff
path: root/SRC/dgetc2.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/dgetc2.f
parent5fe0466a14e395641f4f8a300ecc9dcb8058081b (diff)
Integrating Doxygen in comments
Diffstat (limited to 'SRC/dgetc2.f')
-rw-r--r--SRC/dgetc2.f154
1 files changed, 108 insertions, 46 deletions
diff --git a/SRC/dgetc2.f b/SRC/dgetc2.f
index f8e84455..689b607b 100644
--- a/SRC/dgetc2.f
+++ b/SRC/dgetc2.f
@@ -1,64 +1,126 @@
- SUBROUTINE DGETC2( N, A, LDA, IPIV, JPIV, INFO )
-*
-* -- 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 INFO, LDA, N
-* ..
-* .. Array Arguments ..
- INTEGER IPIV( * ), JPIV( * )
- DOUBLE PRECISION A( LDA, * )
-* ..
-*
+*> \brief \b DGETC2
+*
+* =========== DOCUMENTATION ===========
+*
+* Online html documentation available at
+* http://www.netlib.org/lapack/explore-html/
+*
+* Definition
+* ==========
+*
+* SUBROUTINE DGETC2( N, A, LDA, IPIV, JPIV, INFO )
+*
+* .. Scalar Arguments ..
+* INTEGER INFO, LDA, N
+* ..
+* .. Array Arguments ..
+* INTEGER IPIV( * ), JPIV( * )
+* DOUBLE PRECISION A( LDA, * )
+* ..
+*
* Purpose
* =======
*
-* DGETC2 computes an LU factorization with complete pivoting of the
-* n-by-n matrix A. The factorization has the form A = P * L * U * Q,
-* where P and Q are permutation matrices, L is lower triangular with
-* unit diagonal elements and U is upper triangular.
-*
-* This is the Level 2 BLAS algorithm.
+*>\details \b Purpose:
+*>\verbatim
+*>
+*> DGETC2 computes an LU factorization with complete pivoting of the
+*> n-by-n matrix A. The factorization has the form A = P * L * U * Q,
+*> where P and Q are permutation matrices, L is lower triangular with
+*> unit diagonal elements and U is upper triangular.
+*>
+*> This is the Level 2 BLAS algorithm.
+*>
+*>\endverbatim
*
* Arguments
* =========
*
-* N (input) INTEGER
-* The order of the matrix A. N >= 0.
-*
-* A (input/output) DOUBLE PRECISION array, dimension (LDA, N)
-* On entry, the n-by-n matrix A to be factored.
-* On exit, the factors L and U from the factorization
-* A = P*L*U*Q; the unit diagonal elements of L are not stored.
-* If U(k, k) appears to be less than SMIN, U(k, k) is given the
-* value of SMIN, i.e., giving a nonsingular perturbed system.
+*> \param[in] N
+*> \verbatim
+*> N is INTEGER
+*> The order of the matrix A. N >= 0.
+*> \endverbatim
+*>
+*> \param[in,out] A
+*> \verbatim
+*> A is DOUBLE PRECISION array, dimension (LDA, N)
+*> On entry, the n-by-n matrix A to be factored.
+*> On exit, the factors L and U from the factorization
+*> A = P*L*U*Q; the unit diagonal elements of L are not stored.
+*> If U(k, k) appears to be less than SMIN, U(k, k) is given the
+*> value of SMIN, i.e., giving a nonsingular perturbed system.
+*> \endverbatim
+*>
+*> \param[in] LDA
+*> \verbatim
+*> LDA is INTEGER
+*> The leading dimension of the array A. LDA >= max(1,N).
+*> \endverbatim
+*>
+*> \param[out] 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[out] 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] INFO
+*> \verbatim
+*> INFO is INTEGER
+*> = 0: successful exit
+*> > 0: if INFO = k, U(k, k) is likely to produce owerflow if
+*> we try to solve for x in Ax = b. So U is perturbed to
+*> avoid the overflow.
+*> \endverbatim
+*>
+*
+* Authors
+* =======
*
-* LDA (input) INTEGER
-* The leading dimension of the array A. LDA >= max(1,N).
+*> \author Univ. of Tennessee
+*> \author Univ. of California Berkeley
+*> \author Univ. of Colorado Denver
+*> \author NAG Ltd.
*
-* IPIV (output) 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 (output) INTEGER array, dimension(N).
-* The pivot indices; for 1 <= j <= N, column j of the
-* matrix has been interchanged with column JPIV(j).
+*> \ingroup doubleGEauxiliary
*
-* INFO (output) INTEGER
-* = 0: successful exit
-* > 0: if INFO = k, U(k, k) is likely to produce owerflow if
-* we try to solve for x in Ax = b. So U is perturbed to
-* avoid the overflow.
*
* 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 DGETC2( N, A, LDA, IPIV, JPIV, INFO )
+*
+* -- 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 INFO, LDA, N
+* ..
+* .. Array Arguments ..
+ INTEGER IPIV( * ), JPIV( * )
+ DOUBLE PRECISION A( LDA, * )
+* ..
*
* =====================================================================
*