zgetrf.f(3)
π
zgetrf.f(3) β LAPACK, bestie π
okay so this is the manual page for zgetrf.f(3) from LAPACK, and we are about to get into some crunchy LU factorization lore. no cap, it's giving iconic numerical linear algebra. β¨
π NAME π
zgetrf.f β the Crout Level 3 BLAS variant of the LU factorization algorithm. That's the whole vibe: a LAPACK subroutine page for zgetrf, and it's lowkey famous in the solve systems of equations friend group. π«Ά
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine zgetrf (M, N, A, LDA, IPIV, INFO)βZGETRF VARIANT: Crout Level 3 BLAS version of the algorithm.
π¦ Function/Subroutine Documentation π¦
subroutine zgetrf (integer M, integer N, complex*16, dimension( lda, * ) A,
integer LDA, integer, dimension( * ) IPIV, integer INFO)
ZGETRF VARIANT: Crout Level 3 BLAS version of the algorithm. π
Purpose:
ZGETRF 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 Crout Level 3 BLAS version of the algorithm. periodt. π₯
Parameters:
MβM is INTEGER; the number of rows of the matrixA.M >= 0.NβN is INTEGER; the number of columns of the matrixA.N >= 0.AβA is COMPLEX*16 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βLDA is INTEGER; the leading dimension of the arrayA.LDA >= max(1,M).IPIVβIPIV is INTEGER array, dimension (min(M,N)); the pivot indices; for1 <= i <= min(M,N), rowiof the matrix was interchanged with rowIPIV(i).INFOβINFO is INTEGER;= 0: successful exit;< 0: ifINFO = -i, the i-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. π
Bestie, thatINFO > 0case is not cute:U(i,i)being exactly zero meansUis exactly singular, and division by zero will occur if it is used to solve a system of equations. So like, handle with care. π
Author:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Date:
December 2016
Definition at line 102 of file VARIANTS/lu/CR/zgetrf.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Cute sign-off: this page is from LAPACK Version 3.8.0, dated Tue Nov 14 2017. Bye bestie, go factor something safely! πβ¨
π¦ 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