CPPTRS(3)
π CPPTRS(3) β like, the cpptrs.f one π
okay bestie, so this page lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cpptrs.f and it's part of the LAPACK Library Functions Manual β yes, the whole manual, and this is one of its little superstar pages β¨
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine CPPTRS (uplo, n, nrhs, ap, b, ldb, info)β CPPTRS π«
π«Ά Function/Subroutine Documentation π«Ά
subroutine CPPTRS (character uplo, integer n, integer nrhs, complex,
dimension( * ) ap, complex, dimension( ldb, * ) b, integer ldb, integer
info)
CPPTRS π (yes that's the whole name, she's iconic like that)
β¨ Purpose β¨
!>
!> CPPTRS solves a system of linear equations A*X = B with a Hermitian
!> positive definite matrix A in packed storage using the Cholesky
!> factorization A = U**H*U or A = L*L**H computed by CPPTRF.
!>
so basically bestie: you've got A*X = B, A is Hermitian positive definite and it's been packed (squeezed, no wasted zeros, very efficient π
), and you already ran CPPTRF to get the Cholesky factorization A = U**H*U or A = L*L**H. This routine takes that factorization and solves the system. slay. π
π¦ Parameters π¦
UPLOβUPLO is CHARACTER*1and it tells you which triangle ofAgot stored:= 'U': Upper triangle ofAis stored β¨= 'L': Lower triangle ofAis stored β¨
NβN is INTEGER, the order of the matrixA. and like,N >= 0obviously πNRHSβNRHS is INTEGER, the number of right hand sides, i.e., the number of columns of the matrixB. alsoNRHS >= 0πAPβAP is COMPLEX array, dimension (N*(N+1)/2). this is the triangular factorUorLfrom the Cholesky factorizationA = U**H*UorA = L*L**H, packed columnwise in a linear array. thej-th column ofUorLis stored inAPlike this:if UPLO = 'U', AP(i + (j-1)*j/2) = U(i,j) for 1<=i<=j;if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) = L(i,j) for j<=i<=n.
BβB is COMPLEX array, dimension (LDB,NRHS). on entry it's the right hand side matrixB. on exit β plot twist β it's the solution matrixXπ₯ main character transformation frLDBβLDB is INTEGER, the leading dimension of the arrayB. needsLDB >= max(1,N)πINFOβINFO is INTEGER:= 0: successful exit π< 0: ifINFO = -i, thei-th argument had an illegal value π (not me passing a bad argumentβ¦)
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 107 of file cpptrs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. (the robots did this one, no cap π€)
kk that's the whole page bestie, go solve your Hermitian positive definite packed system, you've got this π«Άπ
LAPACK β Version 3.12.0 π and the page itself is /home/abui...RC/cpptrs.f(3), mwah, bye π
ππ¦
π¦ 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