ZGET03(3)
π ZGET03 π β a LAPACK(3) moment, from the Library Functions Manual
okay bestie, so this one lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zget03.f and honestly? it's a vibe check for your linear algebra. no cap.
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zget03.f
that's the whole name, she's a whole file path, we respect her π«Ά
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine ZGET03 (n, a, lda, ainv, ldainv, work, ldwork, rwork, rcond, resid)β the one and only. she's giving "let me check that inverse for you" energy.
subroutine ZGET03 (n, a, lda, ainv, ldainv, work, ldwork, rwork, rcond,
resid)
ZGET03. that's it. that's the subroutine. π¦
π§ Function/Subroutine Documentation π§
subroutine ZGET03 (integer n, complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension( ldainv, * ) ainv, integer ldainv, complex*16, dimension( ldwork, * ) work, integer ldwork, double precision, dimension( * ) rwork, double precision rcond, double precision resid)
ZGET03 π
π Purpose:
!>
!> ZGET03 computes the residual for a general matrix times its inverse:
!> norm( I - AINV*A ) / ( N * norm(A) * norm(AINV) * EPS ),
!> where EPS is the machine epsilon.
!>
so basically, bestie: she multiplies your inverse by your original matrix, subtracts that from I (the identity, the main character π), and then normalizes the whole mess by N * norm(A) * norm(AINV) * EPS. that's the residual. that's the vibe check. and EPS is the machine epsilon, iykyk. β¨
π Parameters π
NβNis INTEGER. the number of rows and columns of the matrix A. and like,N >= 0, obviously. no negative-size matrices, we don't do that here π
!> N is INTEGER
!> The number of rows and columns of the matrix A. N >= 0.
!>
AβAis COMPLEX*16 array, dimension (LDA,N). it's literally the original N x N matrix A. the before picture π
!> A is COMPLEX*16 array, dimension (LDA,N)
!> The original N x N matrix A.
!>
LDAβLDAis INTEGER. it's the leading dimension of the array A, and she must satisfyLDA >= max(1,N). rules are rules, bestie. π
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= max(1,N).
!>
AINVβAINVis COMPLEX*16 array, dimension (LDAINV,N). this is the inverse of the matrix A. the after picture. the glow-up. β¨
!> AINV is COMPLEX*16 array, dimension (LDAINV,N)
!> The inverse of the matrix A.
!>
LDAINVβLDAINVis INTEGER. leading dimension of the array AINV, and yes she also needsLDAINV >= max(1,N). consistency queen π
!> LDAINV is INTEGER
!> The leading dimension of the array AINV. LDAINV >= max(1,N).
!>
WORKβWORKis COMPLEX*16 array, dimension (LDWORK,N). the workspace. she's just there to do the work, no notes. π§
!> WORK is COMPLEX*16 array, dimension (LDWORK,N)
!>
LDWORKβLDWORKis INTEGER. leading dimension of the array WORK, andLDWORK >= max(1,N)β same energy as the others, fr fr.
!> LDWORK is INTEGER
!> The leading dimension of the array WORK. LDWORK >= max(1,N).
!>
RWORKβRWORKis DOUBLE PRECISION array, dimension (N). real workspace for real ones. π«Ά
!> RWORK is DOUBLE PRECISION array, dimension (N)
!>
RCONDβRCONDis DOUBLE PRECISION. the reciprocal of the condition number of A, computed as( 1/norm(A) ) / norm(AINV). look at her, doing the math, iconic. π₯
!> RCOND is DOUBLE PRECISION
!> The reciprocal of the condition number of A, computed as
!> ( 1/norm(A) ) / norm(AINV).
!>
RESIDβRESIDis DOUBLE PRECISION. and she's literallynorm(I - AINV*A) / ( N * norm(A) * norm(AINV) * EPS ). the final answer. the reveal. the moment. π
!> RESID is DOUBLE PRECISION
!> norm(I - AINV*A) / ( N * norm(A) * norm(AINV) * EPS )
!>
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad, no cap. π
Definition at line 108 of file zget03.f.
β Author β (yes, again, different author section, don't come for me)
Generated automatically by Doxygen for LAPACK from the source code. she was literally born from a script, main character energy π β¨
and that's the page bestie!! LAPACK, Version 3.12.0, and this whole thing comes to you from /home/abui...IN/zget03.f(3) β go forth and compute your residuals πππ¦
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms