ZPOTRS(3)
π ZPOTRS(3) β like, the Cholesky-solve girlie of LAPACK π
okay bestie, so this page lives at /home/abui...RC/zpotrs.f(3) in the Library Functions Manual, and it's literally all about one Fortran subroutine that solves your linear system once you've already done the factorization. no cap, it's a whole vibe. π¦
β¨ SYNOPSIS β¨
Functions/Subroutines β here's the whole cast list:
subroutine ZPOTRS (uplo, n, nrhs, a, lda, b, ldb, info)
ZPOTRS
π Function/Subroutine Documentation π
πΈ the actual signature, bestie πΈ
subroutine ZPOTRS (character uplo, integer n, integer nrhs, complex*16,
dimension( lda, * ) a, integer lda, complex*16, dimension( ldb, * ) b,
integer ldb, integer info)
ZPOTRS β yes queen, that's the name, say it with your chest. π
Purpose π«
so basically: ZPOTRS solves a system of linear equations A*X = B with a Hermitian positive definite matrix A using the Cholesky factorization A = U**H * U or A = L * L**H computed by ZPOTRF.
like, ZPOTRF does the hard part (the factorization), and this one comes in and finishes the job. teamwork, fr fr. π«Ά
π Parameters π
time for the β¨parameter eraβ¨ β every single one, no skipping:
UPLOβ isCHARACTER*1. it tells you which triangle ofAis stored:= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
Nβ isINTEGER. the order of the matrixA. must beN >= 0. (negative N? not on her watch. π)NRHSβ isINTEGER. the number of right hand sides, i.e., the number of columns of the matrixB. must beNRHS >= 0.Aβ isCOMPLEX*16array, dimension(LDA,N). it holds the triangular factorUorLfrom the Cholesky factorizationA = U**H * UorA = L * L**H, as computed byZPOTRF. so like, she's not doing the factoring, she's using it. slay.LDAβ isINTEGER. the leading dimension of the arrayA. must beLDA >= max(1,N).Bβ isCOMPLEX*16array, dimension(LDB,NRHS). on entry, this is the right hand side matrixB. on exit, it's the solution matrixX. glow-up of the century honestly. β¨LDBβ isINTEGER. the leading dimension of the arrayB. must beLDB >= max(1,N).INFOβ isINTEGER. the receipts:= 0: successful exit π< 0: ifINFO = -i, the i-th argument had an illegal value π
π§ Author π§
the legends behind it:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 109 of file zpotrs.f. π
π Author (the meta one) π
Generated automatically by Doxygen for LAPACK from the source code. (yes, the docs wrote themselves, main character energy tbh)
πΈ quick reminder bestie:INFOis how she tells you something went wrong β check it, always.INFO < 0means an argument was illegal, andINFO = -ipoints at exactly which one. don't ignore her texts. π
and that's the whole page! π this cutie is from LAPACK, Version 3.12.0, and the footer path vibe was /home/abui...RC/zpotrs.f(3) β periodt. ππ₯
π¦ 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