SRC/dlatdf.f(3)
π NAME π
okay bestie, you're on the SRC/dlatdf.f(3) page from the Library Functions Manual β¨ and today's main character is the dlatdf subroutine. That's the name, that's the vibe.
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine dlatdf (ijob, n, z, ldz, rhs, rdsum, rdscal, ipiv, jpiv)β DLATDF uses the LU factorization of the n-by-n matrix computed bysgetc2and computes a contribution to the reciprocal Dif-estimate. literally the synopsis said it, so we're saying it π
π Function/Subroutine Documentation π
π subroutine dlatdf (full signature) π
subroutine dlatdf (integer ijob, integer n, double precision, dimension(
ldz, * ) z, integer ldz, double precision, dimension( * ) rhs, double
precision rdsum, double precision rdscal, integer, dimension( * ) ipiv,
integer, dimension( * ) jpiv)
DLATDF uses the LU factorization of the n-by-n matrix computed by sgetc2 and computes a contribution to the reciprocal Dif-estimate. periodt.
πΈ Purpose πΈ
bestie, here's the whole point, no cap:
- DLATDF uses the LU factorization of the n-by-n matrix
Zcomputed byDGETC2and computes a contribution to the reciprocal Dif-estimate by solvingZ * x = bforx, and choosing the r.h.s.bsuch that the norm ofxis as large as possible. On entryRHS = bholds the contribution from earlier solved sub-systems, and on returnRHS = x. - The factorization of
Zreturned byDGETC2has the formZ = P*L*U*Q, wherePandQare permutation matrices.Lis lower triangular with unit diagonal elements andUis upper triangular.
π Parameters π
IJOBβIJOB is INTEGER.IJOB = 2: First compute an approximative null-vectoreofZusingDGECON,eis normalized and solve forZx = +-e - fwith the sign giving the greater value of2-norm(x). About 5 times as expensive as Default.IJOB .ne. 2: Local look ahead strategy where all entries of the r.h.s.bis chosen as either+1or-1(Default).NβN is INTEGER. The number of columns of the matrixZ.ZβZ is DOUBLE PRECISION array, dimension (LDZ, N). On entry, the LU part of the factorization of the n-by-n matrixZcomputed byDGETC2:Z = P * L * U * Q.LDZβLDZ is INTEGER. The leading dimension of the arrayZ.LDA >= max(1, N).RHSβRHS is DOUBLE PRECISION array, dimension (N). On entry,RHScontains contributions from other subsystems. On exit,RHScontains the solution of the subsystem with entries according to the value ofIJOB(see above).RDSUMβRDSUM is DOUBLE PRECISION. On entry, the sum of squares of computed contributions to the Dif-estimate under computation byDTGSYL, where the scaling factorRDSCAL(see below) has been factored out. On exit, the corresponding sum of squares updated with the contributions from the current sub-system. IfTRANS = 'T'RDSUMis not touched. NOTE:RDSUMonly makes sense whenDTGSY2is called bySTGSYL.RDSCALβRDSCAL is DOUBLE PRECISION. On entry, scaling factor used to prevent overflow inRDSUM. On exit,RDSCALis updated w.r.t. the current contributions inRDSUM. IfTRANS = 'T',RDSCALis not touched. NOTE:RDSCALonly makes sense whenDTGSY2is called byDTGSYL.IPIVβIPIV is INTEGER array, dimension (N). The pivot indices; for1 <= i <= N, rowiof the matrix has been interchanged with rowIPIV(i).JPIVβJPIV is INTEGER array, dimension (N). The pivot indices; for1 <= j <= N, columnjof the matrix has been interchanged with columnJPIV(j).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details π₯
This routine is a further developed implementation of algorithm BSOLVE in [1] using complete pivoting in the LU factorization. iconic, honestly.
π«Ά Contributors π«Ά
Bo Kagstrom and Peter Poromaa, Department of Computing Science, Umea University, S-901 87 Umea, Sweden.
β References β
[1]Bo Kagstrom and Lars Westin, Generalized Schur Methods with Condition Estimators for Solving the Generalized Sylvester Equation, IEEE Transactions on Automatic Control, Vol. 34, No. 7, July 1989, pp 745-751.[2]Peter Poromaa, On Efficient and Robust Estimators for the Separation between two Regular Matrix Pairs with Applications in Condition Estimation. Report IMINF-95.05, Departement of Computing Science, Umea University, S-901 87 Umea, Sweden, 1995.
Definition at line 169 of file dlatdf.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page π«Ά footer vibes: LAPACK Version 3.12.0, page SRC/dlatdf.f(3). There was no date in the footer, so I'm not inventing one β mwah π and slay β¨
π¦ 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