CLATDF(3)
Okay so bestie, welcome to the clatdf.f(3) page from the Library Functions Manual (path vibes: /home/abui...RC/clatdf.f(3)). This is some LAPACK realness and we're gonna break it down. No cap, it's giving linear algebra main character energy. π
β¨
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/clatdf.f β that's the whole file path, periodt.
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine CLATDF (ijob, n, z, ldz, rhs, rdsum, rdscal, ipiv, jpiv)
CLATDF uses the LU factorization of the n-by-n matrix computed by sgetc2 and computes a contribution to the reciprocal Dif-estimate.
π Function/Subroutine Documentation π
subroutine CLATDF (integer ijob, integer n, complex, dimension( ldz, * ) z,
integer ldz, complex, dimension( * ) rhs, real rdsum, real rdscal,
integer, dimension( * ) ipiv, integer, dimension( * ) jpiv)
CLATDF uses the LU factorization of the n-by-n matrix computed by sgetc2 and computes a contribution to the reciprocal Dif-estimate.
π Purpose π
CLATDF computes the contribution to the reciprocal Dif-estimate by solving for x in Z * x = b, where b is chosen such that the norm of x is as large as possible. It is assumed that LU decomposition of Z has been computed by CGETC2. On entry RHS = f holds the contribution from earlier solved sub-systems, and on return RHS = x.
The factorization of Z returned by CGETC2 has the form Z = P * L * U * Q, where P and Q are permutation matrices. L is lower triangular with unit diagonal elements and U is upper triangular.
π§ Parameters π§
IJOBβ INTEGER. Two modes, bestie:IJOB = 2: First compute an approximative null-vectoreofZusingCGECON,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β INTEGER. The number of columns of the matrixZ.Zβ COMPLEX array, dimension(LDZ, N). On entry, the LU part of the factorization of the n-by-n matrixZcomputed byCGETC2:Z = P * L * U * Q.LDZβ INTEGER. The leading dimension of the arrayZ. The original literally saysLDA >= max(1, N)(yep,LDA, notLDZβ quoting it as-is, don't @ me).RHSβ COMPLEX 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β REAL. On entry, the sum of squares of computed contributions to the Dif-estimate under computation byCTGSYL, 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 whenCTGSY2is called byCTGSYL.RDSCALβ REAL. 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 whenCTGSY2is called byCTGSYL.IPIVβ INTEGER array, dimension(N). The pivot indices; for1 <= i <= N, rowiof the matrix has been interchanged with rowIPIV(i).JPIVβ 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.
π¦ 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 UMINF-95.05, Department of Computing Science, Umea University, S-901 87 Umea, Sweden, 1995.
Definition at line 167 of file clatdf.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole vibe, bestie! This page is from LAPACK Version 3.12.0, and the footer path is /home/abui...RC/clatdf.f(3). Stay slay, and remember: complete pivoting is iconic. π
β¨
π¦ 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