SRC/sgesc2.f(3)
π NAME π
okay so bestie, this is SRC/sgesc2.f from the Library Functions Manual β and it's literally the page for the Fortran subroutine sgesc2. iconic π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine sgesc2 (n, a, lda, rhs, ipiv, jpiv, scale)β SGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed bysgetc2. no cap π«Ά
π¦ Function/Subroutine Documentation π¦
subroutine sgesc2 (integer n, real, dimension( lda, * ) a, integer lda, real, dimension( * ) rhs, integer, dimension( * ) ipiv, integer, dimension( * ) jpiv, real scale)
SGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. slay β¨
π― 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. iykyk π
π Parameters
NβNis INTEGER. The order of the matrixA. periodt πAβAis REAL array, dimension(LDA,N). On entry, the LU part of the factorization of the n-by-n matrixAcomputed by SGETC2:A = P * L * U * Q. the way that factorization ate πLDAβLDAis INTEGER. The leading dimension of the arrayA.LDA >= max(1, N). vibe check passed π¦RHSβRHSis REAL array, dimension(N). On entry, the right hand side vectorb. On exit, the solution vectorX. main character energy πIPIVβIPIVis INTEGER array, dimension(N). The pivot indices; for1 <= i <= N, rowiof the matrix has been interchanged with rowIPIV(i). literally the row-swap receipts βJPIVβJPIVis INTEGER array, dimension(N). The pivot indices; for1 <= j <= N, columnjof the matrix has been interchanged with columnJPIV(j). and the column-swap receipts too πSCALEβSCALEis REAL. On exit,SCALEcontains the scale factor.SCALEis chosen0 <= SCALE <= 1to prevent overflow in the solution. important safety wig, do not ignore π₯
π 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. legend behavior π§
β Definition at line 113 of file sgesc2.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. the automation said periodt π
okay that's the whole page β the footer zone is giving LAPACK, Version 3.12.0, SRC/sgesc2.f(3), and I'm obsessed π«Άπ
π¦ 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