gesc2(3)
okay bestie, welcome to gesc2(3) from the Library Functions Manual β we're doing LAPACK triangular-solve-with-complete-pivoting tea today and it's honestly giving solver icon energy β¨π
πΈ NAME πΈ
gesc2 β gesc2: triangular solve using factor, with complete pivoting
π¦ SYNOPSIS π¦
π Functions
The whole squad is here β signatures first, then the one-line tea:
subroutine cgesc2 (n, a, lda, rhs, ipiv, jpiv, scale)
subroutine dgesc2 (n, a, lda, rhs, ipiv, jpiv, scale)
subroutine sgesc2 (n, a, lda, rhs, ipiv, jpiv, scale)
subroutine zgesc2 (n, a, lda, rhs, ipiv, jpiv, scale)
cgesc2β CGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed bysgetc2. (yes, the synopsis literally sayssgetc2, lowercase s and all β I'm not fixing it, bestie π)dgesc2β DGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed bysgetc2.sgesc2β SGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed bysgetc2.zgesc2β ZGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed bysgetc2.
π Detailed Description π
There's no extra prose hidden here β the detailed description is basically the runway to the function docs below. Scroll with me, bestie π
π Function Documentation π
π cgesc2 π
Top-line description: CGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. The Purpose block below says CGETC2 β both are in the original, keep both, no cap π
subroutine cgesc2 (integer n, complex, dimension( lda, * ) a, integer lda,
complex, dimension( * ) rhs, integer, dimension( * ) ipiv, integer,
dimension( * ) jpiv, real scale)
β¨ Purpose
!>
!> CGESC2 solves a system of linear equations
!>
!> A * X = scale* RHS
!>
!> with a general N-by-N matrix A using the LU factorization with
!> complete pivoting computed by CGETC2.
!>
!>
π Parameters
NβN is INTEGER. The number of columns of the matrixA.AβA is COMPLEX array, dimension (LDA, N). On entry, the LU part of the factorization of the n-by-n matrixAcomputed byCGETC2:A = P * L * U * Q.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1, N).RHSβRHS is COMPLEX array, dimension N. On entry, the right hand side vectorb. On exit, the solution vectorX.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).SCALEβSCALE is REAL. On exit,SCALEcontains the scale factor.SCALEis chosen0 <= SCALE <= 1to prevent overflow in the solution.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π«Ά Contributors:
Bo Kagstrom and Peter Poromaa, Department of Computing Science, Umea University, S-901 87 Umea, Sweden.
Definition at line 114 of file cgesc2.f.
π dgesc2 π
Top-line description: DGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. Purpose block says DGETC2 β both facts stay, bestie β¨
subroutine dgesc2 (integer n, double precision, dimension( lda, * ) a,
integer lda, double precision, dimension( * ) rhs, integer, dimension( *
) ipiv, integer, dimension( * ) jpiv, double precision scale)
β¨ Purpose
!>
!> DGESC2 solves a system of linear equations
!>
!> A * X = scale* RHS
!>
!> with a general N-by-N matrix A using the LU factorization with
!> complete pivoting computed by DGETC2.
!>
π Parameters
NβN is INTEGER. The order of the matrixA.AβA is DOUBLE PRECISION array, dimension (LDA,N). On entry, the LU part of the factorization of the n-by-n matrixAcomputed byDGETC2:A = P * L * U * Q.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1, N).RHSβRHS is DOUBLE PRECISION array, dimension (N). On entry, the right hand side vectorb. On exit, the solution vectorX.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).SCALEβSCALE is DOUBLE PRECISION. On exit,SCALEcontains the scale factor.SCALEis chosen0 <= SCALE <= 1to prevent overflow in the solution.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π«Ά Contributors:
Bo Kagstrom and Peter Poromaa, Department of Computing Science, Umea University, S-901 87 Umea, Sweden.
Definition at line 113 of file dgesc2.f.
π sgesc2 π
Top-line description: SGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. Purpose block says SGETC2 β yes, keep both, periodt π
subroutine sgesc2 (integer n, real, dimension( lda, * ) a, integer lda,
real, dimension( * ) rhs, integer, dimension( * ) ipiv, integer,
dimension( * ) jpiv, real scale)
β¨ Purpose
!>
!> SGESC2 solves a system of linear equations
!>
!> A * X = scale* RHS
!>
!> with a general N-by-N matrix A using the LU factorization with
!> complete pivoting computed by SGETC2.
!>
π Parameters
NβN is INTEGER. The order of the matrixA.AβA is REAL array, dimension (LDA,N). On entry, the LU part of the factorization of the n-by-n matrixAcomputed bySGETC2:A = P * L * U * Q.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1, N).RHSβRHS is REAL array, dimension (N). On entry, the right hand side vectorb. On exit, the solution vectorX.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).SCALEβSCALE is REAL. On exit,SCALEcontains the scale factor.SCALEis chosen0 <= SCALE <= 1to prevent overflow in the solution.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π«Ά Contributors:
Bo Kagstrom and Peter Poromaa, Department of Computing Science, Umea University, S-901 87 Umea, Sweden.
Definition at line 113 of file sgesc2.f.
π zgesc2 π
Top-line description: ZGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. Purpose block says ZGETC2 β both are literally in the page, bestie π«Ά
subroutine zgesc2 (integer n, complex*16, dimension( lda, * ) a, integer
lda, complex*16, dimension( * ) rhs, integer, dimension( * ) ipiv,
integer, dimension( * ) jpiv, double precision scale)
β¨ Purpose
!>
!> ZGESC2 solves a system of linear equations
!>
!> A * X = scale* RHS
!>
!> with a general N-by-N matrix A using the LU factorization with
!> complete pivoting computed by ZGETC2.
!>
!>
π Parameters
NβN is INTEGER. The number of columns of the matrixA.AβA is COMPLEX*16 array, dimension (LDA, N). On entry, the LU part of the factorization of the n-by-n matrixAcomputed byZGETC2:A = P * L * U * Q.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1, N).RHSβRHS is COMPLEX*16 array, dimension N. On entry, the right hand side vectorb. On exit, the solution vectorX.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).SCALEβSCALE is DOUBLE PRECISION. On exit,SCALEcontains the scale factor.SCALEis chosen0 <= SCALE <= 1to prevent overflow in the solution.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π«Ά Contributors:
Bo Kagstrom and Peter Poromaa, Department of Computing Science, Umea University, S-901 87 Umea, Sweden.
Definition at line 114 of file zgesc2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
xoxo bestie π β gesc2(3) from LAPACK Version 3.12.0. The footer's date slot isn't filled in here, so we're not inventing one. 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