TESTING/EIG/zunt03.f(3)
π NAME π
okay bestie, you're on the TESTING/EIG/zunt03.f page β section 3, Library Functions Manual. This is the whole vibe check for ZUNT03, and we're keeping every single detail, no cap. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
Here's the snack-sized synopsis:
subroutine zunt03 (rc, mu, mv, n, k, u, ldu, v, ldv, work, lwork, rwork,
result, info)
ZUNT03
π¦ Function/Subroutine Documentation π¦
Full signature, exactly as the page says it, character for character:
subroutine zunt03 (character*( * ) rc, integer mu, integer mv, integer n,
integer k, complex*16, dimension( ldu, * ) u, integer ldu, complex*16,
dimension( ldv, * ) v, integer ldv, complex*16, dimension( * ) work,
integer lwork, double precision, dimension( * ) rwork, double precision
result, integer info)
ZUNT03
π Purpose π
ZUNT03 compares two unitary matrices U and V to see if their corresponding rows or columns span the same spaces. The rows are checked if RC = 'R', and the columns are checked if RC = 'C'.
RESULT is the maximum of:
| V*V' - I | / ( MV ulp ), if RC = 'R', or
| V'*V - I | / ( MV ulp ), if RC = 'C',
and the maximum over rows (or columns) 1 to K of:
| U(i) - S*V(i) |/ ( N ulp )
where abs(S) = 1 (chosen to minimize the expression), U(i) is the i-th row (column) of U, and V(i) is the i-th row (column) of V. iconic math behavior β¨
π Parameters π
RCβRC is CHARACTER*1. IfRC = 'R'the rows ofUandVare to be compared. IfRC = 'C'the columns ofUandVare to be compared.MUβMU is INTEGER. The number of rows ofUifRC = 'R', and the number of columns ifRC = 'C'. IfMU = 0ZUNT03does nothing.MUmust be at least zero.MVβMV is INTEGER. The number of rows ofVifRC = 'R', and the number of columns ifRC = 'C'. IfMV = 0ZUNT03does nothing.MVmust be at least zero.NβN is INTEGER. IfRC = 'R', the number of columns in the matricesUandV, and ifRC = 'C', the number of rows inUandV. IfN = 0ZUNT03does nothing.Nmust be at least zero.KβK is INTEGER. The number of rows or columns ofUandVto compare.0 <= K <= max(MU,MV).UβU is COMPLEX*16 array, dimension (LDU,N). The first matrix to compare. IfRC = 'R',UisMUbyN, and ifRC = 'C',UisNbyMU.LDUβLDU is INTEGER. The leading dimension ofU. IfRC = 'R',LDU >= max(1,MU), and ifRC = 'C',LDU >= max(1,N).VβV is COMPLEX*16 array, dimension (LDV,N). The second matrix to compare. IfRC = 'R',VisMVbyN, and ifRC = 'C',VisNbyMV.LDVβLDV is INTEGER. The leading dimension ofV. IfRC = 'R',LDV >= max(1,MV), and ifRC = 'C',LDV >= max(1,N).WORKβWORK is COMPLEX*16 array, dimension (LWORK).LWORKβLWORK is INTEGER. The length of the arrayWORK. For best performance,LWORKshould be at leastN*NifRC = 'C'orM*MifRC = 'R', but the tests will be done even ifLWORKis 0.RWORKβRWORK is DOUBLE PRECISION array, dimension (max(MV,N)).RESULTβRESULT is DOUBLE PRECISION. The value computed by the test described above.RESULTis limited to1/ulpto avoid overflow.INFOβINFO is INTEGER.0indicates a successful exit.-kindicates the k-th parameter had an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 160 of file zunt03.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π that's the whole page, bestie. The footer vibe is LAPACK Version 3.12.0, and the page name is TESTING/EIG/zunt03.f(3). slay, you made it to the end π«Άπ
π¦ 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