summaryrefslogtreecommitdiff
path: root/TESTING/LIN/schktr.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 /TESTING/LIN/schktr.f
parent5fe0466a14e395641f4f8a300ecc9dcb8058081b (diff)
downloadlapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.gz
lapack-e1d39294aee16fa6db9ba079b14442358217db71.tar.bz2
lapack-e1d39294aee16fa6db9ba079b14442358217db71.zip
Integrating Doxygen in comments
Diffstat (limited to 'TESTING/LIN/schktr.f')
-rw-r--r--TESTING/LIN/schktr.f237
1 files changed, 170 insertions, 67 deletions
diff --git a/TESTING/LIN/schktr.f b/TESTING/LIN/schktr.f
index 5154a8c8..e050fe7c 100644
--- a/TESTING/LIN/schktr.f
+++ b/TESTING/LIN/schktr.f
@@ -1,10 +1,178 @@
+*> \brief \b SCHKTR
+*
+* =========== DOCUMENTATION ===========
+*
+* Online html documentation available at
+* http://www.netlib.org/lapack/explore-html/
+*
+* Definition
+* ==========
+*
+* SUBROUTINE SCHKTR( DOTYPE, NN, NVAL, NNB, NBVAL, NNS, NSVAL,
+* THRESH, TSTERR, NMAX, A, AINV, B, X, XACT,
+* WORK, RWORK, IWORK, NOUT )
+*
+* .. Scalar Arguments ..
+* LOGICAL TSTERR
+* INTEGER NMAX, NN, NNB, NNS, NOUT
+* REAL THRESH
+* ..
+* .. Array Arguments ..
+* LOGICAL DOTYPE( * )
+* INTEGER IWORK( * ), NBVAL( * ), NSVAL( * ), NVAL( * )
+* REAL A( * ), AINV( * ), B( * ), RWORK( * ),
+* $ WORK( * ), X( * ), XACT( * )
+* ..
+*
+* Purpose
+* =======
+*
+*>\details \b Purpose:
+*>\verbatim
+*>
+*> SCHKTR tests STRTRI, -TRS, -RFS, and -CON, and SLATRS
+*>
+*>\endverbatim
+*
+* Arguments
+* =========
+*
+*> \param[in] DOTYPE
+*> \verbatim
+*> DOTYPE is LOGICAL array, dimension (NTYPES)
+*> The matrix types to be used for testing. Matrices of type j
+*> (for 1 <= j <= NTYPES) are used for testing if DOTYPE(j) =
+*> .TRUE.; if DOTYPE(j) = .FALSE., then type j is not used.
+*> \endverbatim
+*>
+*> \param[in] NN
+*> \verbatim
+*> NN is INTEGER
+*> The number of values of N contained in the vector NVAL.
+*> \endverbatim
+*>
+*> \param[in] NVAL
+*> \verbatim
+*> NVAL is INTEGER array, dimension (NN)
+*> The values of the matrix column dimension N.
+*> \endverbatim
+*>
+*> \param[in] NNB
+*> \verbatim
+*> NNB is INTEGER
+*> The number of values of NB contained in the vector NBVAL.
+*> \endverbatim
+*>
+*> \param[in] NBVAL
+*> \verbatim
+*> NBVAL is INTEGER array, dimension (NNB)
+*> The values of the blocksize NB.
+*> \endverbatim
+*>
+*> \param[in] NNS
+*> \verbatim
+*> NNS is INTEGER
+*> The number of values of NRHS contained in the vector NSVAL.
+*> \endverbatim
+*>
+*> \param[in] NSVAL
+*> \verbatim
+*> NSVAL is INTEGER array, dimension (NNS)
+*> The values of the number of right hand sides NRHS.
+*> \endverbatim
+*>
+*> \param[in] THRESH
+*> \verbatim
+*> THRESH is REAL
+*> The threshold value for the test ratios. A result is
+*> included in the output file if RESULT >= THRESH. To have
+*> every test ratio printed, use THRESH = 0.
+*> \endverbatim
+*>
+*> \param[in] TSTERR
+*> \verbatim
+*> TSTERR is LOGICAL
+*> Flag that indicates whether error exits are to be tested.
+*> \endverbatim
+*>
+*> \param[in] NMAX
+*> \verbatim
+*> NMAX is INTEGER
+*> The leading dimension of the work arrays.
+*> NMAX >= the maximum value of N in NVAL.
+*> \endverbatim
+*>
+*> \param[out] A
+*> \verbatim
+*> A is REAL array, dimension (NMAX*NMAX)
+*> \endverbatim
+*>
+*> \param[out] AINV
+*> \verbatim
+*> AINV is REAL array, dimension (NMAX*NMAX)
+*> \endverbatim
+*>
+*> \param[out] B
+*> \verbatim
+*> B is REAL array, dimension (NMAX*NSMAX)
+*> where NSMAX is the largest entry in NSVAL.
+*> \endverbatim
+*>
+*> \param[out] X
+*> \verbatim
+*> X is REAL array, dimension (NMAX*NSMAX)
+*> \endverbatim
+*>
+*> \param[out] XACT
+*> \verbatim
+*> XACT is REAL array, dimension (NMAX*NSMAX)
+*> \endverbatim
+*>
+*> \param[out] WORK
+*> \verbatim
+*> WORK is REAL array, dimension
+*> (NMAX*max(3,NSMAX))
+*> \endverbatim
+*>
+*> \param[out] RWORK
+*> \verbatim
+*> RWORK is REAL array, dimension
+*> (max(NMAX,2*NSMAX))
+*> \endverbatim
+*>
+*> \param[out] IWORK
+*> \verbatim
+*> IWORK is INTEGER array, dimension (NMAX)
+*> \endverbatim
+*>
+*> \param[in] NOUT
+*> \verbatim
+*> NOUT is INTEGER
+*> The unit number for output.
+*> \endverbatim
+*>
+*
+* Authors
+* =======
+*
+*> \author Univ. of Tennessee
+*> \author Univ. of California Berkeley
+*> \author Univ. of Colorado Denver
+*> \author NAG Ltd.
+*
+*> \date November 2011
+*
+*> \ingroup single_lin
+*
+* =====================================================================
SUBROUTINE SCHKTR( DOTYPE, NN, NVAL, NNB, NBVAL, NNS, NSVAL,
$ THRESH, TSTERR, NMAX, A, AINV, B, X, XACT,
$ WORK, RWORK, IWORK, NOUT )
*
* -- LAPACK test routine (version 3.1) --
-* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
-* November 2006
+* -- 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 ..
LOGICAL TSTERR
@@ -18,71 +186,6 @@
$ WORK( * ), X( * ), XACT( * )
* ..
*
-* Purpose
-* =======
-*
-* SCHKTR tests STRTRI, -TRS, -RFS, and -CON, and SLATRS
-*
-* Arguments
-* =========
-*
-* DOTYPE (input) LOGICAL array, dimension (NTYPES)
-* The matrix types to be used for testing. Matrices of type j
-* (for 1 <= j <= NTYPES) are used for testing if DOTYPE(j) =
-* .TRUE.; if DOTYPE(j) = .FALSE., then type j is not used.
-*
-* NN (input) INTEGER
-* The number of values of N contained in the vector NVAL.
-*
-* NVAL (input) INTEGER array, dimension (NN)
-* The values of the matrix column dimension N.
-*
-* NNB (input) INTEGER
-* The number of values of NB contained in the vector NBVAL.
-*
-* NBVAL (input) INTEGER array, dimension (NNB)
-* The values of the blocksize NB.
-*
-* NNS (input) INTEGER
-* The number of values of NRHS contained in the vector NSVAL.
-*
-* NSVAL (input) INTEGER array, dimension (NNS)
-* The values of the number of right hand sides NRHS.
-*
-* THRESH (input) REAL
-* The threshold value for the test ratios. A result is
-* included in the output file if RESULT >= THRESH. To have
-* every test ratio printed, use THRESH = 0.
-*
-* TSTERR (input) LOGICAL
-* Flag that indicates whether error exits are to be tested.
-*
-* NMAX (input) INTEGER
-* The leading dimension of the work arrays.
-* NMAX >= the maximum value of N in NVAL.
-*
-* A (workspace) REAL array, dimension (NMAX*NMAX)
-*
-* AINV (workspace) REAL array, dimension (NMAX*NMAX)
-*
-* B (workspace) REAL array, dimension (NMAX*NSMAX)
-* where NSMAX is the largest entry in NSVAL.
-*
-* X (workspace) REAL array, dimension (NMAX*NSMAX)
-*
-* XACT (workspace) REAL array, dimension (NMAX*NSMAX)
-*
-* WORK (workspace) REAL array, dimension
-* (NMAX*max(3,NSMAX))
-*
-* RWORK (workspace) REAL array, dimension
-* (max(NMAX,2*NSMAX))
-*
-* IWORK (workspace) INTEGER array, dimension (NMAX)
-*
-* NOUT (input) INTEGER
-* The unit number for output.
-*
* =====================================================================
*
* .. Parameters ..