SRC/zla_lin_berr.f(3)
π SRC/zla_lin_berr.f(3) π
Okay bestie, welcome to the Library Functions Manual page for SRC/zla_lin_berr.f(3) β this is the zla_lin_berr subroutine and she is here to compute a component-wise relative backward error. No cap. β¨
β¨ NAME β¨
SRC/zla_lin_berr.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine zla_lin_berr (n, nz, nrhs, res, ayb, berr)βZLA_LIN_BERRcomputes a component-wise relative backward error.
π¦ Function/Subroutine Documentation π¦
subroutine zla_lin_berr (integer n, integer nz, integer nrhs, complex*16, dimension( n, nrhs ) res, double precision, dimension( n, nrhs ) ayb, double precision, dimension( nrhs ) berr)
ZLA_LIN_BERR computes a component-wise relative backward error.
π Purpose π
So the whole point, bestie: ZLA_LIN_BERR computes componentwise relative backward error from this formula:
max(i) ( abs(R(i)) / ( abs(op(A_s))*abs(Y) + abs(B_s) )(i) )
And abs(Z) is the componentwise absolute value of the matrix or vector Z. Thatβs the vibe. β¨
πΈ 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 COMPLEX*16 array, dimension (N,NRHS). The residual matrix, i.e., the matrixRin the relative backward error formula above.AYBβAYB is DOUBLE PRECISION 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 (seezla_gerfsx_extended.f).BERRβBERR is DOUBLE PRECISION 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 zla_lin_berr.f.
π Author (Doxygen-generated) π
Generated automatically by Doxygen for LAPACK from the source code.
xoxo bestie β signed off with LAPACK Version 3.12.0, source SRC/zla_lin_berr.f(3), and no date in the footer, so thatβs the whole tea π
π«Ά
π¦ 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