SRC/zpstrf.f(3)
πΈ SRC/zpstrf.f(3) πΈ
okay bestie, this is the Library Functions Manual page for SRC/zpstrf.f β manual-name situation folded in right here instead of copied as a header line, periodt. Letβs get into the LAPACK lore π
π NAME π
SRC/zpstrf.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine zpstrf (uplo, n, a, lda, piv, rank, tol, work, info)β ZPSTRF is the routine that computes the Cholesky factorization with complete pivoting of a complex Hermitian positive semidefinite matrix.
π Function/Subroutine Documentation π
subroutine zpstrf (character uplo, integer n, complex*16, dimension( lda, * ) a, integer lda, integer, dimension( n ) piv, integer rank, double precision tol, double precision, dimension( 2*n ) work, integer info)
ZPSTRF computes the Cholesky factorization with complete pivoting of a complex Hermitian positive semidefinite matrix A.
π― Purpose π―
okay so the factorization has this form, bestie:
P**T * A * P = U**H * U , if UPLO = 'U',
P**T * A * P = L * L**H, if UPLO = 'L',
where U is an upper triangular matrix and L is lower triangular, and P is stored as vector PIV.
β οΈ Important vibe check: this algorithm does not attempt to check that A is positive semidefinite. This version of the algorithm calls level 3 BLAS.
π§Έ Parameters π§Έ
UPLOβCHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrixAis stored.= 'U': Upper triangular= 'L': Lower triangular
NβINTEGER. The order of the matrixA.N >= 0.AβCOMPLEX*16array, dimension(LDA,N). On entry, the symmetric matrixA. IfUPLO = 'U', the leadingnbynupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingnbynlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. On exit, ifINFO = 0, the factorUorLfrom the Cholesky factorization as above.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).PIVβINTEGERarray, dimension(N).PIVis such that the nonzero entries areP( PIV(K), K ) = 1.RANKβINTEGER. The rank ofAgiven by the number of steps the algorithm completed.TOLβDOUBLE PRECISION. User defined tolerance. IfTOL < 0, thenN*U*MAX( A(K,K) )will be used. The algorithm terminates at the(K-1)st step if the pivot<= TOL.WORKβDOUBLE PRECISIONarray, dimension(2*N). Work space.INFOβINTEGER.< 0: IfINFO = -K, the K-th argument had an illegal value,= 0: algorithm completed successfully, and> 0: the matrixAis either rank deficient with computed rank as returned inRANK, or is not positive semidefinite. See Section 7 of LAPACK Working Note #161 for further information.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 141 of file zpstrf.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, thatβs the entire page β LAPACK Version 3.12.0 Β· SRC/zpstrf.f(3) Β· thatβs the footer sign-off vibe πβ¨ (the footer has no date, so Iβm not inventing one π)
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms