--- rpl/lapack/lapack/dpstf2.f 2011/11/21 22:19:38 1.7 +++ rpl/lapack/lapack/dpstf2.f 2023/08/07 08:39:05 1.17 @@ -1,25 +1,25 @@ -*> \brief \b DPSTF2 +*> \brief \b DPSTF2 computes the Cholesky factorization with complete pivoting of a real symmetric positive semidefinite matrix. * * =========== DOCUMENTATION =========== * -* Online html documentation available at -* http://www.netlib.org/lapack/explore-html/ +* Online html documentation available at +* http://www.netlib.org/lapack/explore-html/ * *> \htmlonly -*> Download DPSTF2 + dependencies -*> -*> [TGZ] -*> -*> [ZIP] -*> +*> Download DPSTF2 + dependencies +*> +*> [TGZ] +*> +*> [ZIP] +*> *> [TXT] -*> \endhtmlonly +*> \endhtmlonly * * Definition: * =========== * * SUBROUTINE DPSTF2( UPLO, N, A, LDA, PIV, RANK, TOL, WORK, INFO ) -* +* * .. Scalar Arguments .. * DOUBLE PRECISION TOL * INTEGER INFO, LDA, N, RANK @@ -29,7 +29,7 @@ * DOUBLE PRECISION A( LDA, * ), WORK( 2*N ) * INTEGER PIV( N ) * .. -* +* * *> \par Purpose: * ============= @@ -121,29 +121,27 @@ *> < 0: If INFO = -K, the K-th argument had an illegal value, *> = 0: algorithm completed successfully, and *> > 0: the matrix A is either rank deficient with computed rank -*> as returned in RANK, or is indefinite. See Section 7 of -*> LAPACK Working Note #161 for further information. +*> as returned in RANK, or is not positive semidefinite. See +*> Section 7 of LAPACK Working Note #161 for further +*> information. *> \endverbatim * * Authors: * ======== * -*> \author Univ. of Tennessee -*> \author Univ. of California Berkeley -*> \author Univ. of Colorado Denver -*> \author NAG Ltd. -* -*> \date November 2011 +*> \author Univ. of Tennessee +*> \author Univ. of California Berkeley +*> \author Univ. of Colorado Denver +*> \author NAG Ltd. * *> \ingroup doubleOTHERcomputational * * ===================================================================== SUBROUTINE DPSTF2( UPLO, N, A, LDA, PIV, RANK, TOL, WORK, INFO ) * -* -- LAPACK computational routine (version 3.4.0) -- +* -- LAPACK computational routine -- * -- 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 .. DOUBLE PRECISION TOL @@ -216,7 +214,7 @@ AJJ = A( PVT, PVT ) END IF END DO - IF( AJJ.EQ.ZERO.OR.DISNAN( AJJ ) ) THEN + IF( AJJ.LE.ZERO.OR.DISNAN( AJJ ) ) THEN RANK = 0 INFO = 1 GO TO 170