TESTING/EIG/zunt01.f(3)
π TESTING/EIG/zunt01.f(3) π
okay bestie, welcome to the Library Functions Manual page for TESTING/EIG/zunt01.f(3) β itβs giving βorthogonality audit but make it LAPACK.β β¨
πΈ NAME πΈ
TESTING/EIG/zunt01.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine zunt01 (rowcol, m, n, u, ldu, work, lwork, rwork, resid)
ZUNT01
π Function/Subroutine Documentation π
π subroutine zunt01 π
subroutine zunt01 (character rowcol, integer m, integer n, complex*16,
dimension( ldu, * ) u, integer ldu, complex*16, dimension( * ) work,
integer lwork, double precision, dimension( * ) rwork, double precision
resid)
ZUNT01
π Purpose π
ZUNT01 checks that the matrix U is unitary by computing the ratio
RESID = norm( I - U*U' ) / ( n * EPS ), if ROWCOL = 'R',
or
RESID = norm( I - U'*U ) / ( m * EPS ), if ROWCOL = 'C'.
Alternatively, if there isnβt sufficient workspace to form I - U*U' or I - U'*U, the ratio is computed as
RESID = abs( I - U*U' ) / ( n * EPS ), if ROWCOL = 'R',
or
RESID = abs( I - U'*U ) / ( m * EPS ), if ROWCOL = 'C'.
where EPS is the machine precision. ROWCOL is used only if m = n; if m > n, ROWCOL is assumed to be 'C', and if m < n, ROWCOL is assumed to be 'R'. π«Ά
π§ Parameters π§
ROWCOLβROWCOL is CHARACTER. Specifies whether the rows or columns ofUshould be checked for orthogonality. Used only ifM = N.= 'R': Check for orthogonal rows ofU= 'C': Check for orthogonal columns ofU
MβM is INTEGER. The number of rows of the matrixU.NβN is INTEGER. The number of columns of the matrixU.UβU is COMPLEX*16 array, dimension (LDU,N). The unitary matrixU.Uis checked for orthogonal columns ifm > nor ifm = nandROWCOL = 'C'.Uis checked for orthogonal rows ifm < nor ifm = nandROWCOL = 'R'.LDUβLDU is INTEGER. The leading dimension of the arrayU.LDU >= max(1,M).WORKβWORK is COMPLEX*16 array, dimension (LWORK).LWORKβLWORK is INTEGER. The length of the arrayWORK. For best performance,LWORKshould be at leastN*NifROWCOL = 'C'orM*MifROWCOL = 'R', but the test will be done even ifLWORKis0.RWORKβRWORK is DOUBLE PRECISION array, dimension (min(M,N)). Used only ifLWORKis large enough to use the Level 3 BLAS code.RESIDβRESID is DOUBLE PRECISION.
RESID = norm( I - U * U' ) / ( n * EPS ), if ROWCOL = 'R', or
RESID = norm( I - U' * U ) / ( m * EPS ), if ROWCOL = 'C'.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 124 of file zunt01.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
xoxo, final sign-off bestie: this page is LAPACK Version 3.12.0, source TESTING/EIG/zunt01.f(3). π
β¨
π¦ 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