TESTING/LIN/dpot02.f(3)
π NAME
TESTING/LIN/dpot02.f β bestie, that's the manual page name, and this whole page is the dpot02 lore. We're folding the manual name in right here so you know exactly what page you're on. π
β¨ SYNOPSIS
Functions/Subroutines
subroutine dpot02 (uplo, n, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)
DPOT02
π Function/Subroutine Documentation
subroutine dpot02 (character uplo, integer n, integer nrhs, double
precision, dimension( lda, * ) a, integer lda, double precision,
dimension( ldx, * ) x, integer ldx, double precision, dimension( ldb, *
) b, integer ldb, double precision, dimension( * ) rwork, double
precision resid)
DPOT02
π Purpose
Okay so DPOT02 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. Math girlie really said βmeasure the chaos,β and honestly? Iconic. β¨
π§ Parameters
UPLOβUPLOisCHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U': Upper triangular;= 'L': Lower triangular. π¦NβNisINTEGER. The number of rows and columns of the matrixA.N >= 0.NRHSβNRHSisINTEGER. The number of columns ofB, the matrix of right hand sides.NRHS >= 0.AβAisDOUBLE PRECISION array, dimension (LDA,N). The original symmetric matrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).XβXisDOUBLE PRECISION array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβLDXisINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).BβBisDOUBLE PRECISION 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. Not me getting emotionally attached to a workspace array πLDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RWORKβRWORKisDOUBLE PRECISION array, dimension (N).RESIDβRESIDisDOUBLE PRECISION. 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 dpot02.f.
This cutie was generated automatically by Doxygen for LAPACK from the source code β and the footer tea is: LAPACK Version 3.12.0, manual page TESTING/LIN/dpot02.f(3). Bye bestie, go slay those residuals! πβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms