SPPTRS(3)
π NAME π
SPPTRS(3) is chilling in the Library Functions Manual, and the NAME section is literally this source path, no cap: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/spptrs.f.
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine SPPTRS (uplo, n, nrhs, ap, b, ldb, info)β yep, thatβs the whole icon.
π¦ Function/Subroutine Documentation π¦
The full signature is giving main-character energy:
subroutine SPPTRS (character uplo, integer n, integer nrhs, real, dimension(
* ) ap, real, dimension( ldb, * ) b, integer ldb, integer info)
Also: SPPTRS. π
πΈ Purpose πΈ
Okay so 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 assignment, bestie. π
The source comments are all wrapped in !> markers, which is lowkey their love language.
β¨ Parameters β¨
UPLOβ isCHARACTER*1;= 'U': upper triangle ofAis stored;= 'L': lower triangle ofAis stored. Pick your triangle, queen. πNβ isINTEGER; the order of the matrixA.N >= 0. Zero is valid, bestie.NRHSβ isINTEGER; the number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0. Again: zero is allowed.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: ifUPLO = 'U',AP(i + (j-1)*j/2) = U(i,j)for1<=i<=j; ifUPLO = 'L',AP(i + (j-1)*(2n-j)/2) = L(i,j)forj<=i<=n. That indexing is a lot, but she ate. π₯Bβ isREAL array, dimension (LDB,NRHS); on entry, the right hand side matrixB; on exit, the solution matrixX. Glow-up moment: B comes in, X goes out. β¨LDBβ isINTEGER; the leading dimension of the arrayB.LDB >= max(1,N). Respect the leading dimension, periodt.INFOβ isINTEGER;= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value. So if itβs negative, itβs snitching on which arg was bad. π
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Also: Definition at line 107 of file spptrs.f. β thatβs where she lives, iykyk.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Slay, robot-generated documentation. π€β¨
π Cute little sign-off: this isLAPACK Version 3.12.0, and the page path is/home/abui...RC/spptrs.f(3). Byeee, go solve those linear systems! ππ¦
π¦ 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