TESTING/EIG/dsyl01.f(3)
πΈ NAME πΈ
TESTING/EIG/dsyl01.f
okay bestie, this is the TESTING/EIG/dsyl01.f(3) page from the Library Functions Manual β yes, the whole file name is the main character here π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine dsyl01 (thresh, nfail, rmax, ninfo, knt)βDSYL01
π Function/Subroutine Documentation π
π subroutine dsyl01 signature π
subroutine dsyl01 (double precision thresh, integer, dimension( 3 ) nfail,
double precision, dimension( 2 ) rmax, integer, dimension( 2 ) ninfo,
integer knt)
DSYL01
π§ Purpose π§
okay so DSYL01 tests DTRSYL and DTRSYL3, routines for solving the Sylvester matrix equation:
op(A)*X + ISGN*X*op(B) = scale*C,
A and B are assumed to be in Schur canonical form, op() represents an optional 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 DGET35 by testing with larger, random matrices, of which some require rescaling of X to avoid overflow.
π₯ Parameters π₯
THRESH
THRESH is DOUBLE PRECISION. A test will count as if the residual, computed as described above, exceeds THRESH.
yes bestie, the source text has a lil blank after βasβ β Iβm leaving it exactly as-is so I donβt mess with the facts π
NFAIL
NFAIL is INTEGER array, dimension (3).
NFAIL(1)= No. of times residualDTRSYLexceeds thresholdTHRESHNFAIL(2)= No. of times residualDTRSYL3exceeds thresholdTHRESHNFAIL(3)= No. of timesDTRSYL3andDTRSYLdeviate
RMAX
RMAX is DOUBLE PRECISION, dimension (2).
RMAX(1)= Value of the largest test ratio ofDTRSYLRMAX(2)= Value of the largest test ratio ofDTRSYL3
NINFO
NINFO is INTEGER array, dimension (2).
NINFO(1)= No. of timesDTRSYLreturns an expectedINFONINFO(2)= No. of timesDTRSYL3returns an expectedINFO
KNT
KNT is INTEGER.
Total number of examples tested.
Definition at line 88 of file dsyl01.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie β LAPACK Version 3.12.0 TESTING/EIG/dsyl01.f(3). byeee πβ¨π
π¦ 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