SPOT02(3)
π 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 matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβN is INTEGER. The number of rows and columns of the matrixA.N >= 0.NRHSβNRHS is INTEGER. The number of columns ofB, the matrix of right hand sides.NRHS >= 0.AβA is REAL array, dimension (LDA,N). The original symmetric matrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.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 arrayX.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,Bis overwritten with the differenceB - A*X.LDBβLDB is INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RWORKβRWORK is REAL array, dimension (N).RESIDβRESID is REAL. The maximum over the number of right hand sides ofnorm(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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms