TESTING/LIN/dget01.f(3)

πŸ“¦
version 3.12.1 Β· 2 versions
, in arch rolling

Hey bestie πŸ’– this is the TESTING/LIN/dget01.f page from the Library Functions Manual, and it’s all about the DGET01 subroutine. No cap, it’s a little testing/lin icon ✨.


πŸ’– NAME πŸ’–

TESTING/LIN/dget01.f β€” that’s the page name, periodt πŸŽ€

✨ SYNOPSIS ✨

🌈 Functions/Subroutines 🌈

subroutine dget01 (m, n, a, lda, afac, ldafac, ipiv, rwork, resid)

Function name: DGET01.

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine dget01 (integer m, integer n, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( ldafac, * ) afac, integer ldafac, integer, dimension( * ) ipiv, double precision, dimension( * ) rwork, double precision resid)

The routine is called DGET01, and yes bestie, it’s that girl πŸ’….

πŸŽ€ Purpose πŸŽ€

DGET01 reconstructs a matrix A from its L*U factorization and computes the residual

norm(L*U - A) / ( N * norm(A) * EPS ),

where EPS is the machine epsilon. Math? Reconstructed matrix? Residual? It’s giving very precise main-character energy ✨.

πŸ“ Parameters πŸ“

  • M β€” INTEGER. The number of rows of the matrix A. M >= 0.
  • N β€” INTEGER. The number of columns of the matrix A. N >= 0.
  • A β€” DOUBLE PRECISION array, dimension (LDA,N). The original M x N matrix A.
  • LDA β€” INTEGER. The leading dimension of the array A. LDA >= max(1,M).
  • AFAC β€” DOUBLE PRECISION array, dimension (LDAFAC,N). The factored form of the matrix A. AFAC contains the factors L and U from the L*U factorization as computed by DGETRF. It gets overwritten with the reconstructed matrix, and then with the difference L*U - A.
  • LDAFAC β€” INTEGER. The leading dimension of the array AFAC. LDAFAC >= max(1,M).
  • IPIV β€” INTEGER array, dimension (N). The pivot indices from DGETRF.
  • RWORK β€” DOUBLE PRECISION array, dimension (M).
  • RESID β€” DOUBLE PRECISION. norm(L*U - A) / ( N * norm(A) * EPS ).
Heads up bestie: AFAC is not staying cute and untouched β€” it gets overwritten with the reconstructed matrix, then with the difference L*U - A. That’s just the assignment, okay? 🫢

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 105 of file dget01.f.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


Okay that’s the whole page, bestie πŸ’–. Footer sign-off: LAPACK Version 3.12.0, source/page TESTING/LIN/dget01.f(3), and no date is shown in this footer, so I’m not inventing one β€” periodt πŸ’…πŸŽ€.

πŸ“¦ where this page comes from