DLA_LIN_BERR(3)
π DLA_LIN_BERR(3) π
okay so you opened the DLA_LIN_BERR(3) page from the Library Functions Manual β the title path is /home/abui..._lin_berr.f(3), and the source file behind it is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dla_lin_berr.f. literally LAPACK royalty, no cap. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dla_lin_berr.f
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine DLA_LIN_BERR (n, nz, nrhs, res, ayb, berr)βDLA_LIN_BERRcomputes a component-wise relative backward error.
πΈ Function/Subroutine Documentation πΈ
subroutine DLA_LIN_BERR (integer n, integer nz, integer nrhs, double precision, dimension( n, nrhs ) res, double precision, dimension( n, nrhs ) ayb, double precision, dimension( nrhs ) berr)
DLA_LIN_BERR computes a component-wise relative backward error.
π Purpose π
the formula is the whole main character, bestie:
max(i) ( abs(R(i)) / ( abs(op(A_s))*abs(Y) + abs(B_s) )(i) )
and abs(Z) is the component-wise absolute value of the matrix or vector Z. periodt. π
π Parameters π
N
N is INTEGER. it's the number of linear equations, i.e., the order of the matrix A. constraint: N >= 0. slay. β¨
NZ
NZ is INTEGER. we add (NZ+1)*SLAMCH( 'Safe minimum' ) to R(i) in the numerator to guard against spuriously zero residuals. default value is N. this is the little safety net, okay? π«Ά
NRHS
NRHS is INTEGER. the number of right hand sides, i.e., the number of columns of the matrices AYB, RES, and BERR. constraint: NRHS >= 0.
RES
RES is DOUBLE PRECISION array, dimension (N,NRHS). it's the residual matrix, i.e., the matrix R in the relative backward error formula above. the drama is in the residuals. π
AYB
AYB is DOUBLE PRECISION array, dimension (N, NRHS). the denominator in the relative backward error formula above, i.e., the matrix abs(op(A_s))*abs(Y) + abs(B_s). the matrices A, Y, and B are from iterative refinement (see dla_gerfsx_extended.f).
BERR
BERR is DOUBLE PRECISION array, dimension (NRHS). the component-wise relative backward error from the formula above. iconic output. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 100 of file dla_lin_berr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
cute sign-off: this page is from LAPACK Version 3.12.0, and the footer path is /home/abui..._lin_berr.f(3). mwah. π
π¦ 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