SPBT02(3)

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

πŸ’… SPBT02(3) β€” like, the manual page, bestie

okay so real quick: this is a page from the Library Functions Manual, and the star of the show is spbt02.f(3) β€” yes the whole path situation is a lot, we'll get to it. buckle up πŸŽ€


✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/spbt02.f

like... that's the name. that's literally the whole name. it's giving "my full legal name on a government form" energy 😭 but slay, we respect it.


πŸ¦‹ SYNOPSIS πŸ¦‹

Functions/Subroutines

subroutine SPBT02 (uplo, n, kd, nrhs, a, lda, x, ldx, b, ldb, rwork,
    resid)

SPBT02 β€” that's her. that's the subroutine. πŸ‘‘


🌸 Function/Subroutine Documentation 🌸

subroutine SPBT02 (character uplo, integer n, integer kd, integer nrhs,
    real, dimension( lda, * ) a, integer lda, real, dimension( ldx, * ) x,
    integer ldx, real, dimension( ldb, * ) b, integer ldb, real, dimension(
    * ) rwork, real resid)

SPBT02 β€” okay so here's the full glow-up, every single argument typed out exactly, no cap. πŸ’–

🎯 Purpose 🎯

!> !> SPBT02 computes the residual for a solution of a symmetric banded !> system of equations A*x = b: !> RESID = norm( B - A*X ) / ( norm(A) * norm(X) * EPS) !> where EPS is the machine precision. !>

so basically she checks your work. you solved A*x = b, and she's like "bestie... let me verify that real quick" and hands you back RESID = norm( B - A*X ) / ( norm(A) * norm(X) * EPS), where EPS is the machine precision. a whole vibe check for your linear algebra. πŸ’…


🧚 Parameters 🧚

okay so these are the arguments, one by one, each one more iconic than the last:

  • UPLO β€” it's CHARACTER*1, and it says which triangle of the symmetric matrix A we're storing: = 'U': upper triangular, = 'L': lower triangular. pick a side, king. πŸ‘‘
  • N β€” INTEGER, the number of rows and columns of the matrix A. N >= 0. no negatives, we don't do that here.
  • KD β€” INTEGER, the number of super-diagonals of A if UPLO = 'U', or the number of sub-diagonals if UPLO = 'L'. KD >= 0. she's the band width, the moment, the range. 🌈
  • NRHS β€” INTEGER, the number of right hand sides. NRHS >= 0. plural queens rise up.
  • A β€” REAL array, dimension (LDA,N). this is the original symmetric band matrix A. if UPLO = 'U', the upper triangular part of A is stored as a band matrix; if UPLO = 'L', the lower triangular part of A is stored. the columns of the appropriate triangle are stored in the columns of A and the diagonals of the triangle are stored in the rows of A. see SPBTRF for further details β€” she's the reference, iykyk. πŸ“š
  • LDA β€” INTEGER. the leading dimension of the array A. LDA >= max(1,KD+1). respect the leading dimension fr fr.
  • X β€” REAL array, dimension (LDX,NRHS). the computed solution vectors for the system of linear equations. this is your answer, main character energy. πŸ’–
  • LDX β€” INTEGER, the leading dimension of the array X. LDX >= max(1,N).
  • B β€” REAL array, dimension (LDB,NRHS). on entry, the right hand side vectors for the system of linear equations. on exit, B is overwritten with the difference B - A*X. ⚠️ she does NOT come back the same, bestie β€” that array is getting rewritten whether you like it or not.
  • LDB β€” INTEGER, the leading dimension of the array B. LDB >= max(1,N).
  • RWORK β€” REAL array, dimension (N). that's it. that's the whole description. she's a mystery but we love her. 🫢
  • RESID β€” REAL. the maximum over the number of right hand sides of norm(B - A*X) / ( norm(A) * norm(X) * EPS ). the final verdict. the score. the moment of truth. ⭐

πŸ‘‘ Author πŸ‘‘

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

the whole squad, honestly. πŸ’œ

Definition at line 134 of file spbt02.f. β€” go look, she's right there. πŸ”₯


🌺 Author (again, but different) 🌺

Generated automatically by Doxygen for LAPACK from the source code. so like... a robot wrote this page. and now i'm rewriting the robot's page. we're all just doing our part. πŸ¦‹


πŸ’€ quick reminder: nothing here changed, every flag, bound, dimension and overwrite notice is exactly as written β€” i just made it fun.

and that's the page!! LAPACK, Version 3.12.0, dated /home/abui...IN/spbt02.f(3) β€” mwah, sending you off with a kiss, go solve your symmetric banded system responsibly πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from