SPOTRS(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/spotrs.f

okay so bestie, this is a page from the Library Functions Manual πŸ’– and the star of the show is that file right up there β€” that's the whole name section, no cap, it's literally just the path to the Fortran source. She's not mysterious, she's just filed under her address 🏠


🌸 SYNOPSIS 🌸

Functions/Subroutines

subroutine SPOTRS (uplo, n, nrhs, a, lda, b, ldb, info)
  • SPOTRS β€” that's her. the whole point. the moment. πŸ‘‘

πŸ¦‹ 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 ✨ β€” full signature, all seven-ish arguments accounted for, we love a complete cast list πŸ’…

πŸŽ€ 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. !>

so like β€” you already did the Cholesky thing with SPOTRF (that's the glow-up prep step, the "getting ready" of linear algebra πŸ’„), and now SPOTRS comes in and actually solves A*X = B for you. symmetric positive definite matrix A, using either A = U**T*U or A = L*L**T. main character energy fr fr πŸ”₯

🌈 Parameters 🌈

  • UPLO β€” CHARACTER*1, the vibe selector for which triangle of A you actually stored. she takes exactly two looks:
    • = 'U': upper triangle of A is stored;
    • = 'L': lower triangle of A is stored.
  • N β€” INTEGER, the order of the matrix A. constraint era: N >= 0 ✨
  • NRHS β€” INTEGER, the number of right hand sides, i.e., the number of columns of the matrix B. also constrained: NRHS >= 0 πŸ’–
  • A β€” REAL array, dimension (LDA,N). this is the triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed by SPOTRF. so don't hand her a raw matrix, hand her the factorized one, iykyk 🧚
  • LDA β€” INTEGER, the leading dimension of the array A. LDA >= max(1,N) β€” respect the constraint or she will not be ok 😭
  • B β€” REAL array, dimension (LDB,NRHS). on entry, the right hand side matrix B. on exit, the solution matrix X. she transforms in place, that's the whole trick β€” B walks in as the question and leaves as the answer πŸ¦‹
  • LDB β€” INTEGER, the leading dimension of the array B. LDB >= max(1,N). same energy, same rule 🌸
  • INFO β€” INTEGER, the status report, the vibe check at the end:
    • = 0: successful exit πŸŽ‰
    • < 0: if INFO = -i, the i-th argument had an illegal value πŸ’€ (yes, negative β€” she's pointing at which argument was messy)

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

the whole squad 🫢 listed in that exact order.

Definition at line 109 of file spotrs.f. πŸ“


⭐ Author ⭐

Generated automatically by Doxygen for LAPACK from the source code. (yes, a second Author section β€” the first one is the humans, this one is the robot. both iconic πŸ’…)


🌸 that's the page!! LAPACK, Version 3.12.0, and the file is /home/abui...RC/spotrs.f(3) β€” mwah, go solve something symmetric and positive definite bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from