SRC/dla_lin_berr.f(3)
π SRC/dla_lin_berr.f(3) π
Library Functions Manual β yes bestie, thatβs the manual name folded in near the top like a little header accessory π
β¨ NAME β¨
SRC/dla_lin_berr.f β literally the page name, no cap. π«Ά
π¦ 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 sacred, so here it is exactly, bestie:
!>
!> DLA_LIN_BERR computes component-wise relative backward error from
!> the formula
!> max(i) ( abs(R(i)) / ( abs(op(A_s))*abs(Y) + abs(B_s) )(i) )
!> where abs(Z) is the component-wise absolute value of the matrix
!> or vector Z.
!>
π Parameters π
NβNisINTEGER: the number of linear equations, i.e. the order of matrixA.N >= 0. π«ΆNZβNZisINTEGER: we add(NZ+1)*SLAMCH( 'Safe minimum' )toR(i)in the numerator to guard against spuriously zero residuals. Default value isN. ππNRHSβNRHSisINTEGER: the number of right hand sides, i.e. the number of columns of the matricesAYB,RES, andBERR.NRHS >= 0. β¨RESβRESisDOUBLE PRECISION array, dimension (N,NRHS): the residual matrix, i.e. the matrixRin the relative backward error formula above. π₯AYBβAYBisDOUBLE 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 (seedla_gerfsx_extended.f). πBERRβBERRisDOUBLE PRECISION array, dimension (NRHS): the component-wise 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 dla_lin_berr.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Okay byeee bestie β footer check: LAPACK Version 3.12.0, source SRC/dla_lin_berr.f(3), and thatβs the source/version + date footer energy, periodt π
β¨
π¦ 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