SPOT02(3)

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

πŸŽ€ SPOT02(3) πŸŽ€

okay so this page is from the Library Functions Manual, and we’re folding that name in right here at the top instead of copying the header line. It’s the SPOT02(3) page, and it’s giving β€œresidual check but make it cute.” πŸ’…

πŸ’– NAME πŸ’–

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

No cap, that’s the source file path.

✨ SYNOPSIS ✨

πŸ¦‹ Functions/Subroutines πŸ¦‹

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

🌟 Function/Subroutine Documentation 🌟

🧚 subroutine SPOT02 🧚

subroutine SPOT02 (character uplo, integer n, 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)
    SPOT02

🎯 Purpose 🎯

okay so SPOT02 computes the residual for the solution of a symmetric system of linear equations A*x = b:

RESID = norm(B - A*X) / ( norm(A) * norm(X) * EPS ),

where EPS is the machine epsilon. That’s the whole point, and it ate. πŸ’…

🌸 Parameters 🌸

  • UPLO β€” UPLO is CHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matrix A is stored:
    • = 'U': Upper triangular
    • = 'L': Lower triangular
  • N β€” N is INTEGER. The number of rows and columns of the matrix A. N >= 0.
  • NRHS β€” NRHS is INTEGER. The number of columns of B, the matrix of right hand sides. NRHS >= 0.
  • A β€” A is REAL array, dimension (LDA,N). The original symmetric matrix A.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,N)
  • X β€” X is REAL array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.
  • LDX β€” LDX is INTEGER. The leading dimension of the array X. LDX >= max(1,N).
  • B β€” B is 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.
  • LDB β€” LDB is INTEGER. The leading dimension of the array B. LDB >= max(1,N).
  • RWORK β€” RWORK is REAL array, dimension (N).
  • RESID β€” RESID is REAL. The maximum over the number of right hand sides of norm(B - A*X) / ( norm(A) * norm(X) * EPS ).

πŸ’Œ Author πŸ’Œ

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

Definition at line 125 of file spot02.f.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


okay bestie, the footer vibe is LAPACK / Version 3.12.0 with the path /home/abui...IN/spot02.f(3), so that’s the source/version sign-off, periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from