SLA_LIN_BERR(3)
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sla_lin_berr.f
Okay bestie, welcome to the LAPACK Library Functions Manual β this page is serving SLA_LIN_BERR realness, and we're gonna get through every detail together π
β¨
β¨ SYNOPSIS β¨
π§ Functions/Subroutines
subroutine SLA_LIN_BERR (n, nz, nrhs, res, ayb, berr)
SLA_LIN_BERR computes a component-wise relative backward error.
π Function/Subroutine Documentation π
subroutine SLA_LIN_BERR (integer n, integer nz, integer nrhs, real, dimension( n, nrhs ) res, real, dimension( n, nrhs ) ayb, real, dimension( nrhs ) berr)
SLA_LIN_BERR computes a component-wise relative backward error. Iconic behavior, honestly π
π Purpose π
Okay so SLA_LIN_BERR computes componentwise relative backward error from the formula, and yes bestie, here it is exactly:
max(i) ( abs(R(i)) / ( abs(op(A_s))*abs(Y) + abs(B_s) )(i) )
where abs(Z) is the componentwise absolute value of the matrix or vector Z. That's the whole formula vibe β periodt π«Ά
π Parameters π
NβN is INTEGER. The number of linear equations, i.e., the order of the matrixA.N >= 0. πNZβNZ is INTEGER. We add(NZ+1)*SLAMCH( 'Safe minimum' )toR(i)in the numerator to guard against spuriously zero residuals. Default value isN. π‘οΈβ¨NRHSβNRHS is INTEGER. The number of right hand sides, i.e., the number of columns of the matricesAYB,RES, andBERR.NRHS >= 0. πRESβRES is REAL array, dimension (N,NRHS). The residual matrix, i.e., the matrixRin the relative backward error formula above. πAYBβAYB is REAL array, dimension (N, NRHS). The denominator in the relative backward error formula above, i.e., the matrixabs(op(A_s))*abs(Y) + abs(B_s). The matricesA,Y, andBare from iterative refinement (seesla_gerfsx_extended.f). π§BERRβBERR is REAL array, dimension (NRHS). The componentwise relative backward error from the formula above. π
πΈ Author πΈ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 100 of file sla_lin_berr.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. β¨
Footer check, bestie: LAPACK Version 3.12.0 and the page path /home/abui..._lin_berr.f(3) β no date was listed in the footer, so we're not inventing one, just giving you that version energy π«Άπ
π¦ 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