ZUNT01(3)
π ZUNT01(3) β Library Functions Manual π
okay so bestie, this is the <pink>zunt01.f(3)</pink> page from the <purple>Library Functions Manual</purple>, and it's giving pure LAPACK documentation realness. Let's get into it. π¦
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/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'.
bestie, that last bit is important: the row/column choice only matters when m = n, and otherwise it gets auto-assumed based on which dimension is bigger. π
π Parameters π
ROWCOLβROWCOLisCHARACTER. 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βMisINTEGER. The number of rows of the matrixU.NβNisINTEGER. The number of columns of the matrixU.UβUisCOMPLEX*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βLDUisINTEGER. The leading dimension of the arrayU.LDU >= max(1,M).WORKβWORKisCOMPLEX*16 array, dimension (LWORK).LWORKβLWORKisINTEGER. 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βRWORKisDOUBLE PRECISION array, dimension (min(M,N)). Used only ifLWORKis large enough to use the Level 3 BLAS code.RESIDβRESIDisDOUBLE PRECISION.RESID = norm( I - U * U' ) / ( n * EPS ), ifROWCOL = 'R', orRESID = norm( I - U' * U ) / ( m * EPS ), ifROWCOL = '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.
okay that's the whole page, bestie π β the footer vibe is LAPACK Version 3.12.0, source path /home/abui...IG/zunt01.f(3), and there's no explicit date listed. slay, you're done. π
π¦ 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