getrf(3)
getrf(3) πβ¨
okay so this is the getrf(3) page from the Library Functions Manual, and it is literally the LU-factorization bestie you call when you need A = P * L * U energy. π
NAME π
getrf - getrf: triangular factor
SYNOPSIS π¦
Functions
subroutine cgetrf (m, n, a, lda, ipiv, info)βCGETRFsubroutine dgetrf (m, n, a, lda, ipiv, info)βDGETRFsubroutine sgetrf (m, n, a, lda, ipiv, info)βSGETRFsubroutine zgetrf (m, n, a, lda, ipiv, info)βZGETRF
Detailed Description β¨
The detailed description is basically βgo read the function docs below, bestieβ β and the function docs are right here. π«Ά
Function Documentation π
subroutine cgetrf (integer m, integer n, complex, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, integer info) β CGETRF π
subroutine cgetrf (integer m, integer n, complex, dimension( lda, * ) a,
integer lda, integer, dimension( * ) ipiv, integer info)
Purpose πΈ
CGETRF computes an LU factorization of a general M-by-N matrix A using partial pivoting with row interchanges. No cap.
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). Iconic triangular behavior, honestly.
This is the right-looking Level 3 BLAS version of the algorithm. β‘
Parameters π§
MβINTEGER. The number of rows of the matrixA. Constraint:M >= 0.NβINTEGER. The number of columns of the matrixA. Constraint:N >= 0.AβCOMPLEX array, dimension (LDA,N). On entry, theM-by-Nmatrix to be factored. On exit, the factorsLandUfrom the factorizationA = P*L*U; the unit diagonal elements ofLare not stored.LDAβINTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(1,M).IPIVβINTEGER array, dimension (min(M,N)). The pivot indices; for1 <= i <= min(M,N), rowiof the matrix was interchanged with rowIPIV(i).INFOβ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.
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 107 of file cgetrf.f.
subroutine dgetrf (integer m, integer n, double precision, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, integer info) β DGETRF π₯
subroutine dgetrf (integer m, integer n, double precision, dimension( lda, * ) a,
integer lda, integer, dimension( * ) ipiv, integer info)
Purpose π
DGETRF computes an LU factorization of a general M-by-N matrix A using partial pivoting with row interchanges. Same iconic algorithm energy, double-precision edition.
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 3 BLAS version of the algorithm. β
Parameters π
MβINTEGER. The number of rows of the matrixA. Constraint:M >= 0.NβINTEGER. The number of columns of the matrixA. Constraint:N >= 0.AβDOUBLE PRECISION array, dimension (LDA,N). On entry, theM-by-Nmatrix to be factored. On exit, the factorsLandUfrom the factorizationA = P*L*U; the unit diagonal elements ofLare not stored.LDAβINTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(1,M).IPIVβINTEGER array, dimension (min(M,N)). The pivot indices; for1 <= i <= min(M,N), rowiof the matrix was interchanged with rowIPIV(i).INFOβ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.
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 107 of file dgetrf.f.
subroutine sgetrf (integer m, integer n, real, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, integer info) β SGETRF π
subroutine sgetrf (integer m, integer n, real, dimension( lda, * ) a,
integer lda, integer, dimension( * ) ipiv, integer info)
Purpose π
SGETRF computes an LU factorization of a general M-by-N matrix A using partial pivoting with row interchanges. Real ones, rise.
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 3 BLAS version of the algorithm. π
Parameters π¦
MβINTEGER. The number of rows of the matrixA. Constraint:M >= 0.NβINTEGER. The number of columns of the matrixA. Constraint:N >= 0.AβREAL array, dimension (LDA,N). On entry, theM-by-Nmatrix to be factored. On exit, the factorsLandUfrom the factorizationA = P*L*U; the unit diagonal elements ofLare not stored.LDAβINTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(1,M).IPIVβINTEGER array, dimension (min(M,N)). The pivot indices; for1 <= i <= min(M,N), rowiof the matrix was interchanged with rowIPIV(i).INFOβ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.
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 107 of file sgetrf.f.
subroutine zgetrf (integer m, integer n, complex*16, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, integer info) β ZGETRF π
subroutine zgetrf (integer m, integer n, complex*16, dimension( lda, * ) a,
integer lda, integer, dimension( * ) ipiv, integer info)
Purpose π
ZGETRF computes an LU factorization of a general M-by-N matrix A using partial pivoting with row interchanges. Complex*16 main character energy, fr fr.
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 3 BLAS version of the algorithm. β¨
Parameters π«Ά
MβINTEGER. The number of rows of the matrixA. Constraint:M >= 0.NβINTEGER. The number of columns of the matrixA. Constraint:N >= 0.AβCOMPLEX*16 array, dimension (LDA,N). On entry, theM-by-Nmatrix to be factored. On exit, the factorsLandUfrom the factorizationA = P*L*U; the unit diagonal elements ofLare not stored.LDAβINTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(1,M).IPIVβINTEGER array, dimension (min(M,N)). The pivot indices; for1 <= i <= min(M,N), rowiof the matrix was interchanged with rowIPIV(i).INFOβ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.
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 107 of file zgetrf.f.
Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie π«Άπ
β the footer deets are LAPACK Version 3.12.0 and getrf(3); no date is printed on this page, and itβs generated automatically by Doxygen for LAPACK from the source code. periodt. π
π¦ 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