la_gercond(3)
πΈ NAME πΈ
okay bestie, this is la_gercond(3) from the Library Functions Manual, and this is part 1. π
la_gercond β la_gercond: Skeel condition number estimate. Thatβs the whole point of this icon. β¨
β¨ SYNOPSIS β¨
Functions
Hereβs the whole cast, bestie β signatures first, then the one-line vibe for each π«Ά
real function cla_gercond_c (trans, n, a, lda, af, ldaf, ipiv, c,
capply, info, work, rwork)
real function cla_gercond_x (trans, n, a, lda, af, ldaf, ipiv, x, info,
work, rwork)
double precision function dla_gercond (trans, n, a, lda, af, ldaf, ipiv,
cmode, c, info, work, iwork)
real function sla_gercond (trans, n, a, lda, af, ldaf, ipiv, cmode, c,
info, work, iwork)
double precision function zla_gercond_c (trans, n, a, lda, af, ldaf,
ipiv, c, capply, info, work, rwork)
double precision function zla_gercond_x (trans, n, a, lda, af, ldaf,
ipiv, x, info, work, rwork)
cla_gercond_cβCLA_GERCOND_Ccomputes the infinity norm condition number ofop(A)*inv(diag(c))for general matrices. πcla_gercond_xβCLA_GERCOND_Xcomputes the infinity norm condition number ofop(A)*diag(x)for general matrices. πΈdla_gercondβDLA_GERCONDestimates the Skeel condition number for a general matrix. π₯sla_gercondβSLA_GERCONDestimates the Skeel condition number for a general matrix. βzla_gercond_cβZLA_GERCOND_Ccomputes the infinity norm condition number ofop(A)*inv(diag(c))for general matrices. π¦zla_gercond_xβZLA_GERCOND_Xcomputes the infinity norm condition number ofop(A)*diag(x)for general matrices. π
π Detailed Description π
okay so this page is basically the la_gercond family reunion: real and double precision, complex and real, with the _c and _x variants showing up too. The detailed docs below are where the actual function-by-function lore lives. no cap. π
π§ Function Documentation π§
π
cla_gercond_c
real function cla_gercond_c (character trans, integer n, complex, dimension(
lda, * ) a, integer lda, complex, dimension( ldaf, * ) af, integer ldaf,
integer, dimension( * ) ipiv, real, dimension( * ) c, logical capply,
integer info, complex, dimension( * ) work, real, dimension( * ) rwork)
CLA_GERCOND_C computes the infinity norm condition number of op(A)*inv(diag(c)) for general matrices. literally that. β¨
Purpose
CLA_GERCOND_C computes the infinity norm condition number of op(A) * inv(diag(C)) where C is a REAL vector. π
Parameters
TRANSβTRANSisCHARACTER*1. Specifies the form of the system of equations:'N':A * X = B(No transpose)'T':A**T * X = B(Transpose)'C':A**H * X = B(Conjugate Transpose = Transpose)
NβNisINTEGER. The number of linear equations, i.e., the order of the matrixA.N >= 0. πΈAβAisCOMPLEXarray, dimension(LDA,N). On entry, theN-by-NmatrixA. πLDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβAFisCOMPLEXarray, dimension(LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byCGETRF. π₯LDAFβLDAFisINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβIPIVisINTEGERarray, dimension(N). The pivot indices from the factorizationA = P*L*Uas computed byCGETRF; rowiof the matrix was interchanged with rowIPIV(i). π«ΆCβCisREALarray, dimension(N). The vectorCin the formulaop(A) * inv(diag(C)). πCAPPLYβCAPPLYisLOGICAL. If.TRUE.then access the vectorCin the formula above. βINFOβINFOisINTEGER.= 0: Successful exit.i > 0: Theithargument is invalid. π
WORKβWORKisCOMPLEXarray, dimension(2*N). Workspace. π§RWORKβRWORKisREALarray, dimension(N). Workspace. π
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 140 of file cla_gercond_c.f.
π cla_gercond_x
real function cla_gercond_x (character trans, integer n, complex, dimension(
lda, * ) a, integer lda, complex, dimension( ldaf, * ) af, integer ldaf,
integer, dimension( * ) ipiv, complex, dimension( * ) x, integer info,
complex, dimension( * ) work, real, dimension( * ) rwork)
CLA_GERCOND_X computes the infinity norm condition number of op(A)*diag(x) for general matrices. iconic. π
Purpose
CLA_GERCOND_X computes the infinity norm condition number of op(A) * diag(X) where X is a COMPLEX vector. β¨
Parameters
TRANSβTRANSisCHARACTER*1. Specifies the form of the system of equations:'N':A * X = B(No transpose)'T':A**T * X = B(Transpose)'C':A**H * X = B(Conjugate Transpose = Transpose)
NβNisINTEGER. The number of linear equations, i.e., the order of the matrixA.N >= 0. πΈAβAisCOMPLEXarray, dimension(LDA,N). On entry, theN-by-NmatrixA. πLDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβAFisCOMPLEXarray, dimension(LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byCGETRF. π₯LDAFβLDAFisINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβIPIVisINTEGERarray, dimension(N). The pivot indices from the factorizationA = P*L*Uas computed byCGETRF; rowiof the matrix was interchanged with rowIPIV(i). π«ΆXβXisCOMPLEXarray, dimension(N). The vectorXin the formulaop(A) * diag(X). πINFOβINFOisINTEGER.= 0: Successful exit.i > 0: Theithargument is invalid. π
WORKβWORKisCOMPLEXarray, dimension(2*N). Workspace. π§RWORKβRWORKisREALarray, dimension(N). Workspace. π
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file cla_gercond_x.f.
π dla_gercond
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. main character energy fr fr. π
Purpose
DLA_GERCOND estimates the Skeel condition number of op(A) * op2(C) where op2 is determined by CMODE as follows:
CMODE = 1 op2(C) = C
CMODE = 0 op2(C) = I
CMODE = -1 op2(C) = inv(C)
The Skeel condition number cond(A) = norminf( |inv(A)||A| ) is computed by computing scaling factors R such that diag(R)*A*op2(C) is row equilibrated and computing the standard infinity-norm condition number. π₯
Parameters
TRANSβTRANSisCHARACTER*1. Specifies the form of the system of equations:'N':A * X = B(No transpose)'T':A**T * X = B(Transpose)'C':A**H * X = B(Conjugate Transpose = Transpose)
NβNisINTEGER. The number of linear equations, i.e., the order of the matrixA.N >= 0. πΈAβAisDOUBLE PRECISIONarray, dimension(LDA,N). On entry, theN-by-NmatrixA. πLDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβAFisDOUBLE PRECISIONarray, dimension(LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byDGETRF. π₯LDAFβLDAFisINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβIPIVisINTEGERarray, dimension(N). The pivot indices from the factorizationA = P*L*Uas computed byDGETRF; rowiof the matrix was interchanged with rowIPIV(i). π«ΆCMODEβCMODEisINTEGER. Determinesop2(C)in the formulaop(A) * op2(C)as follows:CMODE = 1:op2(C) = CCMODE = 0:op2(C) = ICMODE = -1:op2(C) = inv(C)π
CβCisDOUBLE PRECISIONarray, dimension(N). The vectorCin the formulaop(A) * op2(C). πINFOβINFOisINTEGER.= 0: Successful exit.i > 0: Theithargument is invalid. π
WORKβWORKisDOUBLE PRECISIONarray, dimension(3*N). Workspace. π§IWORKβIWORKisINTEGERarray, 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.
β sla_gercond
real function sla_gercond (character trans, integer n, real, dimension( lda,
* ) a, integer lda, real, dimension( ldaf, * ) af, integer ldaf,
integer, dimension( * ) ipiv, integer cmode, real, dimension( * ) c,
integer info, real, dimension( * ) work, integer, dimension( * ) iwork)
SLA_GERCOND estimates the Skeel condition number for a general matrix. slay. β¨
Purpose
SLA_GERCOND estimates the Skeel condition number of op(A) * op2(C) where op2 is determined by CMODE as follows:
CMODE = 1 op2(C) = C
CMODE = 0 op2(C) = I
CMODE = -1 op2(C) = inv(C)
The Skeel condition number cond(A) = norminf( |inv(A)||A| ) is computed by computing scaling factors R such that diag(R)*A*op2(C) is row equilibrated and computing the standard infinity-norm condition number. π
Parameters
TRANS
okay so weβre still in the parameter list, and TRANS is first up π
TRANSβ isCHARACTER*1. Specifies the form of the system of equations:= 'N':A * X = B(No transpose)= 'T':A**T * X = B(Transpose)= 'C':A**H * X = B(Conjugate Transpose = Transpose)
Nβ isINTEGER. The number of linear equations, i.e., the order of the matrixA.N >= 0.Aβ isREAL array, dimension (LDA,N). On entry, the N-by-N matrixA.LDAβ isINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβ isREAL array, dimension (LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed bySGETRF.LDAFβ isINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβ isINTEGER array, dimension (N). The pivot indices from the factorizationA = P*L*Uas computed bySGETRF; rowiof the matrix was interchanged with rowIPIV(i).CMODEβ isINTEGER. Determinesop2(C)in the formulaop(A) * op2(C)as follows:CMODE = 1βop2(C) = CCMODE = 0βop2(C) = ICMODE = -1βop2(C) = inv(C)
Cβ isREAL array, dimension (N). The vectorCin the formulaop(A) * op2(C).INFOβ isINTEGER= 0: Successful exit.i > 0: The ith argument is invalid.
WORKβ isREAL array, dimension (3*N). Workspace.IWORKβ isINTEGER array, dimension (N).Workspace.2 π
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 148 of file sla_gercond.f.
zla_gercond_c π¦
double precision function zla_gercond_c (character trans, integer n,
complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension(
ldaf, * ) af, integer ldaf, integer, dimension( * ) ipiv, double
precision, dimension( * ) c, logical capply, integer info, complex*16,
dimension( * ) work, double precision, dimension( * ) rwork)
ZLA_GERCOND_C computes the infinity norm condition number of op(A)*inv(diag(c)) for general matrices. no cap, thatβs the whole vibe β¨
Purpose πΈ
ZLA_GERCOND_Ccomputes the infinity norm condition number ofop(A) * inv(diag(C))whereCis aDOUBLE PRECISIONvector.
Parameters π
TRANSβ isCHARACTER*1. Specifies the form of the system of equations:= 'N':A * X = B(No transpose)= 'T':A**T * X = B(Transpose)= 'C':A**H * X = B(Conjugate Transpose = Transpose)
Nβ isINTEGER. The number of linear equations, i.e., the order of the matrixA.N >= 0.Aβ isCOMPLEX*16 array, dimension (LDA,N). On entry, the N-by-N matrixALDAβ isINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβ isCOMPLEX*16 array, dimension (LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byZGETRF.LDAFβ isINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβ isINTEGER array, dimension (N). The pivot indices from the factorizationA = P*L*Uas computed byZGETRF; rowiof the matrix was interchanged with rowIPIV(i).Cβ isDOUBLE PRECISION array, dimension (N). The vectorCin the formulaop(A) * inv(diag(C)).CAPPLYβ isLOGICAL. If.TRUE.then access the vectorCin the formula above.INFOβ isINTEGER= 0: Successful exit.i > 0: The ith argument is invalid.
WORKβ isCOMPLEX*16 array, dimension (2*N). Workspace.RWORKβ isDOUBLE PRECISION array, dimension (N). Workspace.
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 140 of file zla_gercond_c.f.
zla_gercond_x π
double precision function zla_gercond_x (character trans, integer n,
complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension(
ldaf, * ) af, integer ldaf, integer, dimension( * ) ipiv, complex*16,
dimension( * ) x, integer info, complex*16, dimension( * ) work, double
precision, dimension( * ) rwork)
ZLA_GERCOND_X computes the infinity norm condition number of op(A)*diag(x) for general matrices. literally the same energy but with X doing main character work π
Purpose π
ZLA_GERCOND_Xcomputes the infinity norm condition number ofop(A) * diag(X)whereXis aCOMPLEX*16vector.
Parameters π
TRANSβ isCHARACTER*1. Specifies the form of the system of equations:= 'N':A * X = B(No transpose)= 'T':A**T * X = B(Transpose)= 'C':A**H * X = B(Conjugate Transpose = Transpose)
Nβ isINTEGER. The number of linear equations, i.e., the order of the matrixA.N >= 0.Aβ isCOMPLEX*16 array, dimension (LDA,N). On entry, the N-by-N matrixA.LDAβ isINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβ isCOMPLEX*16 array, dimension (LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byZGETRF.LDAFβ isINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβ isINTEGER array, dimension (N). The pivot indices from the factorizationA = P*L*Uas computed byZGETRF; rowiof the matrix was interchanged with rowIPIV(i).Xβ isCOMPLEX*16 array, dimension (N). The vectorXin the formulaop(A) * diag(X).INFOβ isINTEGER= 0: Successful exit.i > 0: The ith argument is invalid.
WORKβ isCOMPLEX*16 array, dimension (2*N). Workspace.RWORKβ isDOUBLE PRECISION array, dimension (N). Workspace.
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file zla_gercond_x.f.
Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
β¨ okay bestie, thatβs the whole lore β source/version stamp: LAPACK 3.12.0, page la_gercond(3), signing off with immaculate numerical-analysis energy π
π¦ 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