cgetrf.f(3)

πŸ“¦ version 3.9.0, in centos-stream 9

πŸ’… 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 β€” M is INTEGER. The number of rows of the matrix A. M >= 0.
  • N β€” N is INTEGER. The number of columns of the matrix A. N >= 0.
  • A β€” A is COMPLEX 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.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,M).
  • 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).
  • INFO β€” INFO is INTEGER.
    • = 0: successful exit.
    • < 0: if INFO = -i, the i-th argument had an illegal value.
    • > 0: if INFO = i, U(i,i) 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.
🚨 Heads up, bestie: that INFO > 0 case is serious β€” U(i,i) is exactly zero, U is 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