cgetrf.f(3)
π
cgetrf.f(3) β LAPACK, bestie edition β¨
Okay so this is the LAPACK manual page for cgetrf.f, and we are keeping every type, flag, and caveat exactly where it belongs. No cap, fr fr. π«Ά
πΈ NAME πΈ
cgetrf.f β the cgetrf subroutine page, LAPACK-style.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine cgetrf (M, N, A, LDA, IPIV, INFO)β CGETRF VARIANT: left-looking Level 3 BLAS version of the algorithm.
π¦ Function/Subroutine Documentation π¦
subroutine cgetrf (integer M, integer N, complex, dimension( lda, * ) A, integer LDA, integer, dimension( * ) IPIV, integer INFO)
CGETRF VARIANT: left-looking Level 3 BLAS version of the algorithm.
π Purpose π
This one is lowkey iconic: CGETRF 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 left-looking Level 3 BLAS version of the algorithm. Periodt.
π Parameters π
MβMis INTEGER. The number of rows of the matrixA.M >= 0.NβNis INTEGER. The number of columns of the matrixA.N >= 0.AβAis COMPLEX array, dimension(LDA,N). On entry, the M-by-N matrix to be factored. On exit, the factorsLandUfrom the factorizationA = P*L*U; the unit diagonal elements ofLare not stored.LDAβLDAis INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).IPIVβIPIVis INTEGER array, dimension(min(M,N)). The pivot indices; for1 <= i <= min(M,N), rowiof the matrix was interchanged with rowIPIV(i).INFOβINFOis INTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value.> 0: ifINFO = i,U(i,i)is exactly zero. The factorization has been completed, but the factorUis exactly singular, and division by zero will occur if it is used to solve a system of equations.
π¨ Heads up, bestie: thatINFO > 0case is serious βU(i,i)is exactly zero,Uis exactly singular, and division by zero will occur if it is used to solve a system of equations.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Date π
December 2016
π Definition at line π
Definition at line 102 of file VARIANTS/lu/LL/cgetrf.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.8.0 Β· Tue Nov 14 2017 Β· cgetrf.f(3) β generated automatically by Doxygen for LAPACK from the source code. Mwah! πβ¨
π¦ where this page comes from
- centos-stream 9: lapack 3.9.0-10.el9 Β· BSD
- centos-stream 9: lapack 3.9.0-10.el9 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms