ZPOTRF(3)
π ZPOTRF π (like, the Cholesky era of your life)
okay so bestie, welcome to the zpotrf.f page β yes the whole file lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zpotrf.f, and I'm not retyping that whole path again unless you ask nicely (jk I literally just did π
). it's a member of the LAPACK library functions manual, and it's giving iconic.
β¨ SYNOPSIS β¨
Functions/Subroutines π«Ά
subroutine ZPOTRF (uplo, n, a, lda, info)β that's the queen herself,ZPOTRF.
πΈ Function/Subroutine Documentation πΈ
subroutine ZPOTRF (character uplo, integer n, complex*16, dimension( lda, * ) a, integer lda, integer info)
ZPOTRF β say it with me, ZPOTRF. main character subroutine energy, no cap. π
π¦ Purpose π¦
!>
!> ZPOTRF computes the Cholesky factorization of a complex Hermitian
!> positive definite matrix A.
!>
!> The factorization has the form
!> A = U**H * U, if UPLO = 'U', or
!> A = L * L**H, if UPLO = 'L',
!> where U is an upper triangular matrix and L is lower triangular.
!>
!> This is the block version of the algorithm, calling Level 3 BLAS.
!>
so real talk β ZPOTRF computes the Cholesky factorization of a complex Hermitian positive definite matrix A. it spits out the factorization as either A = U**H * U when UPLO = 'U', or A = L * L**H when UPLO = 'L', where U is upper triangular and L is lower triangular. and bestie, it's the block version of the algorithm, calling Level 3 BLAS β she's efficient, she's fast, she ate. π₯
π Parameters π
UPLOβ this one'sCHARACTER*1and it's the vibe selector:= 'U': only the upper triangle ofAis stored;= 'L': only the lower triangle ofAis stored.
NβINTEGER, the order of the matrixA. constraint:N >= 0. (yes zero is allowed, she's chill like that π)AβCOMPLEX*16array,dimension (LDA,N).- on entry: the Hermitian matrix
A. ifUPLO = 'U', then the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. ifUPLO = 'L', then the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. like, don't even worry about that other triangle, she's not looking at it π - on exit: if
INFO = 0, you get the factorUorLfrom the Cholesky factorizationA = U**H *UorA = L*L**H. slay. β¨
- on entry: the Hermitian matrix
LDAβINTEGER, the leading dimension of the arrayA. requirement:LDA >= max(1,N). periodt.INFOβINTEGER, the receipts:= 0: successful exit π< 0: ifINFO = -i, the i-th argument had an illegal value (oops, someone passed something sus π)> 0: ifINFO = i, the leading principal minor of order i is not positive, and the factorization could not be completed. like, it tried and it couldn't, and that's the tea π
ngl, if you get INFO > 0, your matrix wasn't positive definite enough for her, and no amount of manifesting will fix it. she's telling you the truth. π§
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition β
definition located at line 106 of file zpotrf.f.
π Author (the meta one) π
generated automatically by Doxygen for LAPACK from the source code. she was born from a build script, and honestly? icon behavior. π
k that's the whole page bestie, every flag, every constraint, every single INFO case β nothing skipped, we ate and left no crumbs π«Ά
LAPACK β Version 3.12.0 β from /home/abui...RC/zpotrf.f(3) π mwah, go factor something positive definite π
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms