DGESC2(3)
DGESC2(3) π β¨
okay so bestie, this is the Library Functions Manual page for DGESC2(3) β and it's lowkey a LAPACK icon because it's all about solving a system of linear equations with LU factorization and complete pivoting. Let's get into it fr fr. π«Ά
πΈ NAME πΈ
the file this page is literally about:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dgesc2.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DGESC2 (n, a, lda, rhs, ipiv, jpiv, scale)β DGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed bysgetc2. (yes bestie, the synopsis sayssgetc2with a lowercase s, and the Purpose block saysDGETC2β both are literally in the original, I'm not fixing it π)
π Function/Subroutine Documentation π
here's the full signature, exactly as the page gives it:
subroutine DGESC2 (integer n, double precision, dimension( lda, * ) a,
integer lda, double precision, dimension( * ) rhs, integer, dimension( *
) ipiv, integer, dimension( * ) jpiv, double precision scale)
DGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2.
π Purpose π
the source literally says this:
!>
!> 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.
!>
translation, bestie: it solves A * X = scale* RHS for a general N-by-N matrix A, using the LU factorization with complete pivoting computed by DGETC2. iconic behavior. π
π¦ Parameters π¦
NβN is INTEGER. it's the order of the matrixA. periodt.AβA is DOUBLE PRECISION array, dimension (LDA,N). On entry, it's the LU part of the factorization of the n-by-n matrixAcomputed byDGETC2:A = P * L * U * Q. so yes, it comes pre-factored, don't just throw any old matrix in there.LDAβLDA is INTEGER. it's the leading dimension of the arrayA, andLDA >= max(1, N). respect the leading dimension, bestie.RHSβRHS is DOUBLE PRECISION array, dimension (N).On entry, it's the right hand side vectorb. On exit, it's the solution vectorX. glow-up moment for real. β¨IPIVβIPIV is INTEGER array, dimension (N).these are the pivot indices; for1 <= i <= N, rowiof the matrix has been interchanged with rowIPIV(i). row swaps, no cap.JPIVβJPIV is INTEGER array, dimension (N).these are the pivot indices; for1 <= j <= N, columnjof the matrix has been interchanged with columnJPIV(j). column swaps too, complete pivoting said slay. πSCALEβSCALE is DOUBLE PRECISION. On exit,SCALEcontains the scale factor.SCALEis chosen0 <= SCALE <= 1to prevent overflow in the solution. tiny scale factor, big anti-overflow energy. π«Ά
π 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 π¦
Definition at line 113 of file dgesc2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie that's the whole page!! sign-off: LAPACK Version 3.12.0 β path is /home/abui...RC/dgesc2.f(3) π
β¨
π¦ 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