TESTING/EIG/zsyl01.f(3)
π NAME π
okay bestie, this is the Library Functions Manual page for TESTING/EIG/zsyl01.f(3) β the zsyl01 routine, and it is lowkey all about testing the Sylvester-equation girlies ZTRSYL and ZTRSYL3. β¨
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine zsyl01 (thresh, nfail, rmax, ninfo, knt)
ZSYL01
π¦ Function/Subroutine Documentation π¦
π« subroutine zsyl01 π«
subroutine zsyl01 (double precision thresh, integer, dimension( 3 ) nfail,
double precision, dimension( 2 ) rmax, integer, dimension( 2 ) ninfo,
integer knt)
π ZSYL01 π
π Purpose π
bestie, <pink>ZSYL01</pink> tests <purple>ZTRSYL</purple> and <purple>ZTRSYL3</purple>, the routines for solving the Sylvester matrix equation:
op(A)*X + ISGN*X*op(B) = scale*C,
where op(A) and op(B) are both upper triangular form, op() represents an optional conjugate transpose, and ISGN can be -1 or +1. Scale is an output less than or equal to 1, chosen to avoid overflow in X. π«Ά
The test code verifies that the following residual does not exceed the provided threshold:
norm(op(A)*X + ISGN*X*op(B) - scale*C) /
(EPS*max(norm(A),norm(B))*norm(X))
This routine complements <cyan>ZGET35</cyan> by testing with larger, random matrices, of which some require rescaling of X to avoid overflow. no cap, that part is important. π
π Parameters π
THRESHβTHRESHisDOUBLE PRECISION. A test counts as a fail when the residual, computed as described above, exceedsTHRESH.NFAILβNFAILisINTEGERarray, dimension(3).NFAIL(1)= No. of times residualZTRSYLexceeds thresholdTHRESHNFAIL(2)= No. of times residualZTRSYL3exceeds thresholdTHRESHNFAIL(3)= No. of timesZTRSYL3andZTRSYLdeviate
RMAXβRMAXisDOUBLE PRECISIONarray, dimension(2).RMAX(1)= Value of the largest test ratio ofZTRSYLRMAX(2)= Value of the largest test ratio ofZTRSYL3
NINFOβNINFOisINTEGERarray, dimension(2).NINFO(1)= No. of timesZTRSYLreturns an expectedINFONINFO(2)= No. of timesZTRSYL3returns an expectedINFO
KNTβKNTisINTEGER. Total number of examples tested. π§
Definition at line 88 of file zsyl01.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code. iconic behavior, honestly. πβ¨
xoxo, LAPACK Version 3.12.0 manual page TESTING/EIG/zsyl01.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