SRC/spptrs.f(3)
π¦ SRC/spptrs.f(3) β Library Functions Manual
okay so this is the manual page for SRC/spptrs.f(3), living its best life in the Library Functions Manual. Buckle up, bestie, we're doing Fortran linear algebra and we're gonna be so normal about it. This page ate and left no crumbs. π
β¨
π NAME π
SRC/spptrs.f
That's the name. Short, iconic, no cap. π«Ά
β¨ SYNOPSIS β¨
π§ Functions/Subroutines
subroutine spptrs (uplo, n, nrhs, ap, b, ldb, info)β the one and only entry point, labeledSPPTRS. Slay. π
π Function/Subroutine Documentation π
π subroutine spptrs
subroutine spptrs (character uplo, integer n, integer nrhs, real, dimension( * ) ap, real, dimension( ldb, * ) b, integer ldb, integer info)
SPPTRS β yes bestie, same name, she's consistent. π
π― Purpose:
SPPTRS solves a system of linear equations A*X = B with a symmetric positive definite matrix A in packed storage using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPPTRF. That's the whole purpose, and ngl, it's giving math main character energy. π₯
πΈ Parameters
UPLOβ isCHARACTER*1. Value'U': upper triangle ofAis stored; value'L': lower triangle ofAis stored.Nβ isINTEGER. The order of the matrixA.N >= 0.NRHSβ isINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.APβ isREAL array, dimension (N*(N+1)/2). The triangular factorUorLfrom the Cholesky factorizationA = U**T*UorA = L*L**T, packed columnwise in a linear array. The j-th column ofUorLis stored in the arrayAPas follows:
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.
Not me being obsessed with packed-columnwise storage realness, iykyk. π
Bβ isREAL array, dimension (LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX. Literally a glow-up from RHS to solution. πLDBβ isINTEGER. The leading dimension of the arrayB.LDB >= max(1,N). Lowkey important, don't skip the vibe check. πINFOβ isINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value. Highkey the built-in vibe check: zero is slay, negative means something was not it. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 107 of file spptrs.f.
π AUTHOR
Generated automatically by Doxygen for LAPACK from the source code.
cute sign-off: this page is from LAPACK Version 3.12.0, source SRC/spptrs.f(3). The footer doesn't give a date, so I'm not inventing one β we respect the source, periodt. Byeee, bestie π«Άβ¨
π¦ 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