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's SPOTRS, 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 equations A*X = B with a symmetric positive definite matrix A using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPOTRF.

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's CHARACTER*1 and she tells you which triangle of A is stored, periodt:
    • = 'U': Upper triangle of A is stored;
    • = 'L': Lower triangle of A is stored.
  • N β€” N is INTEGER. It's the order of the matrix A. The rules? N >= 0. No exceptions bestie. 😌
  • NRHS β€” NRHS is INTEGER. This is the number of right hand sides, i.e., the number of columns of the matrix B. Constraint check: NRHS >= 0. 🎯
  • A β€” A is REAL array, dimension (LDA,N). She's holding the triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed by SPOTRF. Like she literally inherited this from SPOTRF, respect the lineage. πŸ‘‘
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. The rule: LDA >= max(1,N). Don't play with her. 🚨
  • B β€” B is REAL array, dimension (LDB,NRHS). On entry, the right hand side matrix B. On exit, the solution matrix X. Glow-up moment, honestly. ✨
  • LDB β€” LDB is INTEGER. The leading dimension of the array B. Constraint: LDB >= max(1,N). Rules are rules. πŸ’…
  • INFO β€” INFO is INTEGER, the vibe check / status report:
    • = 0: successful exit πŸŽ‰
    • < 0: if INFO = -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