summaryrefslogtreecommitdiff
path: root/TESTING/LIN/dchktp.f
diff options
context:
space:
mode:
Diffstat (limited to 'TESTING/LIN/dchktp.f')
-rw-r--r--TESTING/LIN/dchktp.f223
1 files changed, 160 insertions, 63 deletions
diff --git a/TESTING/LIN/dchktp.f b/TESTING/LIN/dchktp.f
index 0e378654..ded8b6a1 100644
--- a/TESTING/LIN/dchktp.f
+++ b/TESTING/LIN/dchktp.f
@@ -1,10 +1,168 @@
+*> \brief \b DCHKTP
+*
+* =========== DOCUMENTATION ===========
+*
+* Online html documentation available at
+* http://www.netlib.org/lapack/explore-html/
+*
+* Definition
+* ==========
+*
+* SUBROUTINE DCHKTP( DOTYPE, NN, NVAL, NNS, NSVAL, THRESH, TSTERR,
+* NMAX, AP, AINVP, B, X, XACT, WORK, RWORK,
+* IWORK, NOUT )
+*
+* .. Scalar Arguments ..
+* LOGICAL TSTERR
+* INTEGER NMAX, NN, NNS, NOUT
+* DOUBLE PRECISION THRESH
+* ..
+* .. Array Arguments ..
+* LOGICAL DOTYPE( * )
+* INTEGER IWORK( * ), NSVAL( * ), NVAL( * )
+* DOUBLE PRECISION AINVP( * ), AP( * ), B( * ), RWORK( * ),
+* $ WORK( * ), X( * ), XACT( * )
+* ..
+*
+* Purpose
+* =======
+*
+*>\details \b Purpose:
+*>\verbatim
+*>
+*> DCHKTP tests DTPTRI, -TRS, -RFS, and -CON, and DLATPS
+*>
+*>\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] 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 DOUBLE PRECISION
+*> 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
+*> maximumm value of N in NVAL.
+*> \endverbatim
+*>
+*> \param[out] AP
+*> \verbatim
+*> AP is DOUBLE PRECISION array, dimension
+*> (NMAX*(NMAX+1)/2)
+*> \endverbatim
+*>
+*> \param[out] AINVP
+*> \verbatim
+*> AINVP is DOUBLE PRECISION array, dimension
+*> (NMAX*(NMAX+1)/2)
+*> \endverbatim
+*>
+*> \param[out] B
+*> \verbatim
+*> B is DOUBLE PRECISION array, dimension (NMAX*NSMAX)
+*> where NSMAX is the largest entry in NSVAL.
+*> \endverbatim
+*>
+*> \param[out] X
+*> \verbatim
+*> X is DOUBLE PRECISION array, dimension (NMAX*NSMAX)
+*> \endverbatim
+*>
+*> \param[out] XACT
+*> \verbatim
+*> XACT is DOUBLE PRECISION array, dimension (NMAX*NSMAX)
+*> \endverbatim
+*>
+*> \param[out] WORK
+*> \verbatim
+*> WORK is DOUBLE PRECISION array, dimension
+*> (NMAX*max(3,NSMAX))
+*> \endverbatim
+*>
+*> \param[out] IWORK
+*> \verbatim
+*> IWORK is INTEGER array, dimension (NMAX)
+*> \endverbatim
+*>
+*> \param[out] RWORK
+*> \verbatim
+*> RWORK is DOUBLE PRECISION array, dimension
+*> (max(NMAX,2*NSMAX))
+*> \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 double_lin
+*
+* =====================================================================
SUBROUTINE DCHKTP( DOTYPE, NN, NVAL, NNS, NSVAL, THRESH, TSTERR,
$ NMAX, AP, AINVP, 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,67 +176,6 @@
$ WORK( * ), X( * ), XACT( * )
* ..
*
-* Purpose
-* =======
-*
-* DCHKTP tests DTPTRI, -TRS, -RFS, and -CON, and DLATPS
-*
-* 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.
-*
-* 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) DOUBLE PRECISION
-* 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
-* maximumm value of N in NVAL.
-*
-* AP (workspace) DOUBLE PRECISION array, dimension
-* (NMAX*(NMAX+1)/2)
-*
-* AINVP (workspace) DOUBLE PRECISION array, dimension
-* (NMAX*(NMAX+1)/2)
-*
-* B (workspace) DOUBLE PRECISION array, dimension (NMAX*NSMAX)
-* where NSMAX is the largest entry in NSVAL.
-*
-* X (workspace) DOUBLE PRECISION array, dimension (NMAX*NSMAX)
-*
-* XACT (workspace) DOUBLE PRECISION array, dimension (NMAX*NSMAX)
-*
-* WORK (workspace) DOUBLE PRECISION array, dimension
-* (NMAX*max(3,NSMAX))
-*
-* IWORK (workspace) INTEGER array, dimension (NMAX)
-*
-* RWORK (workspace) DOUBLE PRECISION array, dimension
-* (max(NMAX,2*NSMAX))
-*
-* NOUT (input) INTEGER
-* The unit number for output.
-*
* =====================================================================
*
* .. Parameters ..