SGETF2(3)
πΈ SGETF2(3) β the girlies' guide to sgetf2.f π
okay so this one lives at /home/abui...RC/sgetf2.f(3) and it's from the Library Functions Manual, and the actual source file is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgetf2.f. bestie, we're in the LAPACK source tree and it's giving iconic Fortran. β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgetf2.f
like yes, that's the whole name. she's a whole path. main character energy fr.
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine SGETF2 (m, n, a, lda, ipiv, info)
SGETF2 computes the LU factorization of a general m-by-n matrix using partial pivoting with row interchanges (unblocked algorithm). no cap. π₯
π Function/Subroutine Documentation π
subroutine SGETF2 (integer m, integer n, real, dimension( lda, * ) a,
integer lda, integer, dimension( * ) ipiv, integer info)
SGETF2 computes the LU factorization of a general m-by-n matrix using partial pivoting with row interchanges (unblocked algorithm). same queen, different section header π«Ά
π Purpose π
!> !> SGETF2 computes an LU factorization of a general m-by-n matrix A !> using partial pivoting with row interchanges. !> !> The factorization has the form !> A = P * L * U !> where P is a permutation matrix, L is lower triangular with unit !> diagonal elements (lower trapezoidal if m > n), and U is upper !> triangular (upper trapezoidal if m < n). !> !> This is the right-looking Level 2 BLAS version of the algorithm. !>
so basically A = P * L * U and she's out here doing the right-looking Level 2 BLAS version of the algorithm. lowkey a legend π§
β¨ Parameters β¨
M
!> M is INTEGER !> The number of rows of the matrix A. M >= 0. !>
rows, bestie. how many. and M >= 0 is non-negotiable π
N
!> N is INTEGER !> The number of columns of the matrix A. N >= 0. !>
columns. also N >= 0. we respect the bounds in this house π
A
!> A is REAL array, dimension (LDA,N) !> On entry, the m by n matrix to be factored. !> On exit, the factors L and U from the factorization !> A = P*L*U; the unit diagonal elements of L are not stored. !>
she goes in as your m by n matrix and comes out as the factors L and U from A = P*L*U. heads up tho β the unit diagonal elements of L are not stored. not me looking for them π
LDA
!> LDA is INTEGER !> The leading dimension of the array A. LDA >= max(1,M). !>
leading dimension of the array A, and it's gotta be LDA >= max(1,M). periodt.
IPIV
!> IPIV is INTEGER array, dimension (min(M,N)) !> The pivot indices; for 1 <= i <= min(M,N), row i of the !> matrix was interchanged with row IPIV(i). !>
pivot indices, dimension (min(M,N)). for 1 <= i <= min(M,N), row i of the matrix was interchanged with row IPIV(i). tracking? slay π
INFO
!> INFO is INTEGER !> = 0: successful exit !> < 0: if INFO = -k, the k-th argument had an illegal value !> > 0: if INFO = k, U(k,k) is exactly zero. The factorization !> has been completed, but the factor U is exactly !> singular, and division by zero will occur if it is used !> to solve a system of equations. !>
the vibe check variable, honestly:
= 0: successful exit π< 0: ifINFO = -k, the k-th argument had an illegal value π> 0: ifINFO = k,U(k,k)is exactly zero. The factorization has been completed, but the factor U is exactly singular, and division by zero will occur if it is used to solve a system of equations. division by zero. i'm screaming π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad contributed. respect π«Ά
Definition at line 107 of file sgetf2.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code. (yes, a bot wrote the docs. she still ate. π€β¨)
ngl this is the unblocked algorithm, so keep that in mind if you were expecting something fancier β the page says unblocked and we believe her. π¦
kisses, bestie π this page was brought to you by LAPACK, Version 3.12.0, living at /home/abui...RC/sgetf2.f(3) β go forth and factor responsibly π
π¦ 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