version 1.13, 2016/08/27 15:34:44
|
version 1.19, 2023/08/07 08:39:15
|
Line 2
|
Line 2
|
* |
* |
* =========== DOCUMENTATION =========== |
* =========== DOCUMENTATION =========== |
* |
* |
* Online html documentation available at |
* Online html documentation available at |
* http://www.netlib.org/lapack/explore-html/ |
* http://www.netlib.org/lapack/explore-html/ |
* |
* |
*> \htmlonly |
*> \htmlonly |
*> Download ZCPOSV + dependencies |
*> Download ZCPOSV + dependencies |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zcposv.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zcposv.f"> |
*> [TGZ]</a> |
*> [TGZ]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zcposv.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zcposv.f"> |
*> [ZIP]</a> |
*> [ZIP]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zcposv.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zcposv.f"> |
*> [TXT]</a> |
*> [TXT]</a> |
*> \endhtmlonly |
*> \endhtmlonly |
* |
* |
* Definition: |
* Definition: |
* =========== |
* =========== |
* |
* |
* SUBROUTINE ZCPOSV( UPLO, N, NRHS, A, LDA, B, LDB, X, LDX, WORK, |
* SUBROUTINE ZCPOSV( UPLO, N, NRHS, A, LDA, B, LDB, X, LDX, WORK, |
* SWORK, RWORK, ITER, INFO ) |
* SWORK, RWORK, ITER, INFO ) |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
* CHARACTER UPLO |
* CHARACTER UPLO |
* INTEGER INFO, ITER, LDA, LDB, LDX, N, NRHS |
* INTEGER INFO, ITER, LDA, LDB, LDX, N, NRHS |
Line 31
|
Line 31
|
* COMPLEX*16 A( LDA, * ), B( LDB, * ), WORK( N, * ), |
* COMPLEX*16 A( LDA, * ), B( LDB, * ), WORK( N, * ), |
* $ X( LDX, * ) |
* $ X( LDX, * ) |
* .. |
* .. |
* |
* |
* |
* |
*> \par Purpose: |
*> \par Purpose: |
* ============= |
* ============= |
Line 111
|
Line 111
|
*> elements need not be set and are assumed to be zero. |
*> elements need not be set and are assumed to be zero. |
*> |
*> |
*> On exit, if iterative refinement has been successfully used |
*> On exit, if iterative refinement has been successfully used |
*> (INFO.EQ.0 and ITER.GE.0, see description below), then A is |
*> (INFO = 0 and ITER >= 0, see description below), then A is |
*> unchanged, if double precision factorization has been used |
*> unchanged, if double precision factorization has been used |
*> (INFO.EQ.0 and ITER.LT.0, see description below), then the |
*> (INFO = 0 and ITER < 0, see description below), then the |
*> array A contains the factor U or L from the Cholesky |
*> array A contains the factor U or L from the Cholesky |
*> factorization A = U**H*U or A = L*L**H. |
*> factorization A = U**H*U or A = L*L**H. |
*> \endverbatim |
*> \endverbatim |
Line 150
|
Line 150
|
*> |
*> |
*> \param[out] WORK |
*> \param[out] WORK |
*> \verbatim |
*> \verbatim |
*> WORK is COMPLEX*16 array, dimension (N*NRHS) |
*> WORK is COMPLEX*16 array, dimension (N,NRHS) |
*> This array is used to hold the residual vectors. |
*> This array is used to hold the residual vectors. |
*> \endverbatim |
*> \endverbatim |
*> |
*> |
Line 196
|
Line 196
|
* Authors: |
* Authors: |
* ======== |
* ======== |
* |
* |
*> \author Univ. of Tennessee |
*> \author Univ. of Tennessee |
*> \author Univ. of California Berkeley |
*> \author Univ. of California Berkeley |
*> \author Univ. of Colorado Denver |
*> \author Univ. of Colorado Denver |
*> \author NAG Ltd. |
*> \author NAG Ltd. |
* |
|
*> \date June 2016 |
|
* |
* |
*> \ingroup complex16POsolve |
*> \ingroup complex16POsolve |
* |
* |
Line 209
|
Line 207
|
SUBROUTINE ZCPOSV( UPLO, N, NRHS, A, LDA, B, LDB, X, LDX, WORK, |
SUBROUTINE ZCPOSV( UPLO, N, NRHS, A, LDA, B, LDB, X, LDX, WORK, |
$ SWORK, RWORK, ITER, INFO ) |
$ SWORK, RWORK, ITER, INFO ) |
* |
* |
* -- LAPACK driver routine (version 3.6.1) -- |
* -- LAPACK driver routine -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* June 2016 |
|
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
CHARACTER UPLO |
CHARACTER UPLO |
Line 248
|
Line 245
|
* |
* |
* .. External Subroutines .. |
* .. External Subroutines .. |
EXTERNAL ZAXPY, ZHEMM, ZLACPY, ZLAT2C, ZLAG2C, CLAG2Z, |
EXTERNAL ZAXPY, ZHEMM, ZLACPY, ZLAT2C, ZLAG2C, CLAG2Z, |
$ CPOTRF, CPOTRS, XERBLA |
$ CPOTRF, CPOTRS, XERBLA, ZPOTRF, ZPOTRS |
* .. |
* .. |
* .. External Functions .. |
* .. External Functions .. |
INTEGER IZAMAX |
INTEGER IZAMAX |
Line 431
|
Line 428
|
30 CONTINUE |
30 CONTINUE |
* |
* |
* If we are at this place of the code, this is because we have |
* If we are at this place of the code, this is because we have |
* performed ITER=ITERMAX iterations and never satisified the |
* performed ITER=ITERMAX iterations and never satisfied the |
* stopping criterion, set up the ITER flag accordingly and follow |
* stopping criterion, set up the ITER flag accordingly and follow |
* up on double precision routine. |
* up on double precision routine. |
* |
* |
Line 452
|
Line 449
|
* |
* |
RETURN |
RETURN |
* |
* |
* End of ZCPOSV. |
* End of ZCPOSV |
* |
* |
END |
END |