ZGESC2(3)
π
ZGESC2(3) β like, the zgesc2.f manual page, bestie
okay so this one lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zgesc2.f β it's a Library Functions Manual situation, and it's from LAPACK, and it's about solving linear systems like a total icon. Let's get into it π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ZGESC2 (n, a, lda, rhs, ipiv, jpiv, scale)
ZGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2.
π§ Function/Subroutine Documentation π§
subroutine ZGESC2 (integer n, complex*16, dimension( lda, * ) a, integer
lda, complex*16, dimension( * ) rhs, integer, dimension( * ) ipiv,
integer, dimension( * ) jpiv, double precision scale)
ZGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. (yes that's the exact same sentence twice, it's giving "the subroutine contains the subroutine," but we keep it, it's canon π)
π― 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.
!>
!>
so yeah β you hand it the LU factorization that ZGETC2 already did for you, and it hands you back the solution. teamwork, bestie π
πΈ Parameters πΈ
NβN is INTEGER. the number of columns of the matrixA. that's it, that's the vibe β¨AβA is COMPLEX*16 array, dimension (LDA, N). on entry, this is theLUpart of the factorization of the n-by-n matrixAcomputed byZGETC2:A = P * L * U * Q. so don't bring a fresh matrix, bring the leftover crumbs fromZGETC2, she already did the work πLDAβLDA is INTEGER. the leading dimension of the arrayA. and the rule isLDA >= max(1, N). no cap, respect the bound πRHSβRHS is COMPLEX*16 array, dimension N. on entry, the right hand side vectorb. on exit, the solution vectorX. glow-up of the century, honestly β it literally becomes a different vector in place π₯IPIVβIPIV is INTEGER array, dimension (N). the pivot indices; for1 <= i <= N, rowiof the matrix has been interchanged with rowIPIV(i). receipts of where every row went πJPIVβJPIV is INTEGER array, dimension (N). the pivot indices; for1 <= j <= N, columnjof the matrix has been interchanged with columnJPIV(j). same energy but for the columns, slay π¦SCALEβSCALE is DOUBLE PRECISION. on exit,SCALEcontains the scale factor.SCALEis chosen0 <= SCALE <= 1to prevent overflow in the solution. teeny tiny number, huge responsibility π
π 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.
the way that address is fully spelled out, we love a complete citation π
β Definition at line 114 of file zgesc2.f. β
π Author (again, yes) π
Generated automatically by Doxygen for LAPACK from the source code.
ngl bestie, if you're reading this to fix your own linear system:ZGETC2first, thenZGESC2, in that order. that's the whole plot π
mwah π that's a wrap, bestie β this gorgeous little page is LAPACK, Version 3.12.0, and it's dated right there in the footer path /home/abui...RC/zgesc2.f(3). see you in the group chat π«Άβ¨
π¦ 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