/home/abui..._gercond.f(3)
π /home/abui..._gercond.f(3) π
okay bestie, welcome to the Library Functions Manual page for this LAPACK source file. it's giving βdeep math but make it group chatβ β¨ no cap, we're gonna walk through every single parameter so you don't get lost.
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dla_gercond.f
That's the file we're talking about, periodt. π
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
double precision function DLA_GERCOND (trans, n, a, lda, af, ldaf, ipiv,
cmode, c, info, work, iwork)
DLA_GERCOND estimates the Skeel condition number for a general matrix. cute little summary, exactly what it says π
π¦ Function/Subroutine Documentation π¦
double precision function DLA_GERCOND (character trans, integer n, double
precision, dimension( lda, * ) a, integer lda, double precision,
dimension( ldaf, * ) af, integer ldaf, integer, dimension( * ) ipiv,
integer cmode, double precision, dimension( * ) c, integer info, double
precision, dimension( * ) work, integer, dimension( * ) iwork)
DLA_GERCOND estimates the Skeel condition number for a general matrix. again, that's the one-line tea β
π₯ Purpose π₯
okay so here's the whole point π
DLA_GERCOND estimates the Skeel condition number of op(A) * op2(C), where op2 is picked by CMODE like this:
CMODE = 1 op2(C) = C
CMODE = 0 op2(C) = I
CMODE = -1 op2(C) = inv(C)
The Skeel condition number is cond(A) = norminf( |inv(A)||A| ), and it's computed by finding scaling factors R such that diag(R)*A*op2(C) is row equilibrated, then computing the standard infinity-norm condition number. math girlies rise π§ββοΈβ¨
π Parameters π
π TRANS π
TRANS is CHARACTER*1 β this tells you what form the system of equations is in:
= 'N': A * X = B (No transpose)
= 'T': A**T * X = B (Transpose)
= 'C': A**H * X = B (Conjugate Transpose = Transpose)
π N π
N is INTEGER β the number of linear equations, i.e., the order of the matrix A. N >= 0. π«Ά
π A π
A is DOUBLE PRECISION array, dimension (LDA,N) β on entry, the N-by-N matrix A.
π LDA π
LDA is INTEGER β the leading dimension of the array A. LDA >= max(1,N).
π AF π
AF is DOUBLE PRECISION array, dimension (LDAF,N) β the factors L and U from the factorization A = P*L*U as computed by DGETRF.
π LDAF π
LDAF is INTEGER β the leading dimension of the array AF. LDAF >= max(1,N).
π IPIV π
IPIV is INTEGER array, dimension (N) β the pivot indices from the factorization A = P*L*U as computed by DGETRF; row i of the matrix was interchanged with row IPIV(i). iykyk π₯
π CMODE π
CMODE is INTEGER β determines op2(C) in the formula op(A) * op2(C) as follows:
CMODE = 1 op2(C) = C
CMODE = 0 op2(C) = I
CMODE = -1 op2(C) = inv(C)
π C π
C is DOUBLE PRECISION array, dimension (N) β the vector C in the formula op(A) * op2(C).
π INFO π
INFO is INTEGER β here's the status tea:
= 0: Successful exit.
i > 0: The ith argument is invalid.
π WORK π
WORK is DOUBLE PRECISION array, dimension (3*N) β workspace. π οΈ
π IWORK π
IWORK is INTEGER array, dimension (N) β workspace. π οΈ
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 149 of file dla_gercond.f. β that's exactly where it lives, iykyk β¨
π Author π
Generated automatically by Doxygen for LAPACK from the source code. the robot wrote the page, not the math ππ
okay bestie, that's the whole page π β LAPACK Version 3.12.0, from the page file /home/abui..._gercond.f(3). No date is listed in the footer, so I'm not gonna invent one, periodt. π¦π
π¦ 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