SRC/dgetf2.f(3)
π SRC/dgetf2.f(3) β Library Functions Manual π
okay bestie, welcome to the SRC/dgetf2.f(3) page, straight out of the Library Functions Manual β this is the one about the unblocked LU factorization girlie and she is iconic π«Ά
πΈ NAME πΈ
SRC/dgetf2.f β no cap, that's the whole name section, she's lowkey mysterious like that β¨
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine dgetf2 (m, n, a, lda, ipiv, info)β DGETF2 computes the LU factorization of a general m-by-n matrix using partial pivoting with row interchanges (unblocked algorithm). main character energy fr fr π
π Function/Subroutine Documentation π
π¦ The signature, verbatim, don't @ me π¦
subroutine dgetf2 (integer m, integer n, double precision, dimension( lda, *
) a, integer lda, integer, dimension( * ) ipiv, integer info)
DGETF2 computes the LU factorization of a general m-by-n matrix using partial pivoting with row interchanges (unblocked algorithm). that's the whole vibe, but let's get into the lore π
π Purpose π
so the tea is: DGETF2 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). like, geometry queen πβ¨
this is the right-looking Level 2 BLAS version of the algorithm. periodt π
π Parameters π
MβM is INTEGER. the number of rows of the matrix A.M >= 0. absolutely no negative rows allowed bestie πNβN is INTEGER. the number of columns of the matrix A.N >= 0. same energy πAβA is DOUBLE PRECISION array, dimension (LDA,N). on entry, the m by n matrix to be factored. on exit, the factors L and U from the factorizationA = P*L*U; the unit diagonal elements of L are not stored. she gets a whole glow-up in place, we love a transformation arc πLDAβLDA is INTEGER. the leading dimension of the array A.LDA >= max(1,M). respect the leading dimension or catch these hands πIPIVβIPIV is INTEGER array, dimension (min(M,N)). the pivot indices; for1 <= i <= min(M,N), row i of the matrix was interchanged with rowIPIV(i). the receipts of every row swap, iykyk π§ΎINFOβINFO is INTEGER:= 0: successful exit π slay< 0: ifINFO = -k, the k-th argument had an illegal value π somebody passed nonsense> 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. π¨ this is the part where you panic a little β the factor U is exactly singular, and dividing by it is gonna be a whole mess π«
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the academic royalty behind it all, we stan π
Definition at line 107 of file dgetf2.f. β yes she has a canonical address, line 107, remember it π
π Author π
this page was Generated automatically by Doxygen for LAPACK from the source code. so like, a robot wrote it but we gave it flavor π€π
okay that's the whole page babe, go forth and factorize responsibly β¨ and yeah β this masterpiece of a manual is LAPACK Version 3.12.0, so shoutout to version 3.12.0 for making all this possible π«Άππ
π¦ 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