SRC/sgetc2.f(3)
πΈ NAME πΈ
SRC/sgetc2.f β okay bestie, this is the page from the Library Functions Manual, and it's all about the sgetc2 subroutine. Iconic Unix/LAPACK behavior ahead. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine sgetc2 (n, a, lda, ipiv, jpiv, info)β SGETC2 computes the LU factorization with complete pivoting of the generaln-by-nmatrix. Slay.
π Function/Subroutine Documentation π
π subroutine sgetc2 (integer n, real, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, integer, dimension( * ) jpiv, integer info)
SGETC2 computes the LU factorization with complete pivoting of the general n-by-n matrix. Main character energy fr fr.
π Purpose π
So the purpose block is basically this: SGETC2 computes an LU factorization with complete pivoting of the n-by-n matrix A. The factorization has the form A = P * L * U * Q, where P and Q are permutation matrices, L is lower triangular with unit diagonal elements, and U is upper triangular. Math girlies rise.
This is the Level 2 BLAS algorithm. Noted, bestie. π«Ά
π Parameters π
NβNis INTEGER. It's the order of the matrixA. Constraint:N >= 0. No negative N, periodt.AβAis REAL array, dimension(LDA, N). On entry, then-by-nmatrixAto be factored. On exit, the factorsLandUfrom the factorizationA = P*L*U*Q; the unit diagonal elements ofLare not stored. IfU(k, k)appears to be less thanSMIN,U(k, k)is given the value ofSMIN, i.e., giving a nonsingular perturbed system. Petition to store the unit diagonals? Denied, apparently.LDAβLDAis INTEGER. It's the leading dimension of the arrayA. Constraint:LDA >= max(1,N). Respect the leading dimension or suffer.IPIVβIPIVis INTEGER array, dimension(N). These are the pivot indices; for1 <= i <= N, rowiof the matrix has been interchanged with rowIPIV(i). Row swaps, we love to see it.JPIVβJPIVis 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 ate.INFOβINFOis INTEGER.= 0: successful exit. We love a clean exit.> 0: ifINFO = k,U(k, k)is likely to produce overflow if we try to solve forxinAx = b. SoUis perturbed to avoid the overflow. Overflow warning, bestie β 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. Shoutout to the contributors, truly.
Definition at line 110 of file sgetc2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Automation ate, no cap.
okay bye bestie, this iconic little page is from LAPACK, Version 3.12.0, and its footer tag is SRC/sgetc2.f(3). π
β¨π
π¦ 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