SRC/spotrs.f(3)
β¨ SRC/spotrs.f β the LAPACK library page, bestie edition β¨
Okay so picture this: it's giving linear algebra main character energy. This is the manual page for SRC/spotrs.f from the LAPACK Library Functions Manual, and honestly? She slays. Let me put you on. π«Ά
π NAME π
SRC/spotrs.f β no cap, that's the whole name. Short, iconic, does what it says on the tin. π
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine spotrs (uplo, n, nrhs, a, lda, b, ldb, info)β bestie this is literally the whole vibe. She'sSPOTRS, she solves stuff, she's that girl. β¨
π¦ Function/Subroutine Documentation π¦
subroutine spotrs (character uplo, integer n, integer nrhs, real, dimension(
lda, * ) a, integer lda, real, dimension( ldb, * ) b, integer ldb,
integer info)
SPOTRS β say her name, say her name. π
π Purpose π
!>SPOTRS solves a system of linear equationsA*X = Bwith a symmetric positive definite matrixAusing the Cholesky factorizationA = U**T*UorA = L*L**Tcomputed bySPOTRF.
Real talk: you hand her a Cholesky factor from SPOTRF, you hand her some right-hand sides, and she hands you back the solution. Lowkey genius behavior. π§ β¨
π Parameters π
UPLOβ she'sCHARACTER*1and she tells you which triangle ofAis stored, periodt:= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NβNisINTEGER. It's the order of the matrixA. The rules?N >= 0. No exceptions bestie. πNRHSβNRHSisINTEGER. This is the number of right hand sides, i.e., the number of columns of the matrixB. Constraint check:NRHS >= 0. π―AβAisREAL array, dimension (LDA,N). She's holding the triangular factorUorLfrom the Cholesky factorizationA = U**T*UorA = L*L**T, as computed bySPOTRF. Like she literally inherited this fromSPOTRF, respect the lineage. πLDAβLDAisINTEGER. The leading dimension of the arrayA. The rule:LDA >= max(1,N). Don't play with her. π¨BβBisREAL array, dimension (LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX. Glow-up moment, honestly. β¨LDBβLDBisINTEGER. The leading dimension of the arrayB. Constraint:LDB >= max(1,N). Rules are rules. πINFOβINFOisINTEGER, the vibe check / status report:= 0: successful exit π< 0: ifINFO = -i, the i-th argument had an illegal value π (you gave her bad input, not her fault)
π Author π
The legends behind this, fr fr:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 109 of file spotrs.f. (iykyk π)
π Author π
Generated automatically by Doxygen for LAPACK from the source code. The robots did this one, bestie. π€π
β¨ Sign-off time β¨ β this whole thing is from LAPACK, Version 3.12.0, and the page came into the world as SRC/spotrs.f(3). That's the tea. Stay slay, solve your systems, and remember: positive definite is a lifestyle. π¦π
π¦ 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