TESTING/EIG/csyl01.f(3)
π TESTING/EIG/csyl01.f(3) π
okay so this page is from the Library Functions Manual, and the manual name is literally folded right here so you don't have to reread that header line, bestie. It's all about TESTING/EIG/csyl01.f β and yes, the title ate. π
β¨ NAME β¨
TESTING/EIG/csyl01.f
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine csyl01 (thresh, nfail, rmax, ninfo, knt)
CSYL01
π¦ Function/Subroutine Documentation π¦
subroutine csyl01 (real thresh, integer, dimension( 3 ) nfail, real,
dimension( 2 ) rmax, integer, dimension( 2 ) ninfo, integer knt)
CSYL01
π Purpose: π
CSYL01 tests CTRSYL and CTRSYL3, 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 CGET35 by testing with larger, random matrices, of which some require rescaling of X to avoid overflow.
π Parameters π
THRESHβTHRESHisREAL. A test will count as (the source has a lil blank here, bless) if the residual, computed as described above, exceedsTHRESH.NFAILβNFAILisINTEGER array, dimension (3).NFAIL(1)= No. of times residualCTRSYLexceeds thresholdTHRESH;NFAIL(2)= No. of times residualCTRSYL3exceeds thresholdTHRESH;NFAIL(3)= No. of timesCTRSYL3andCTRSYLdeviate.RMAXβRMAXisDOUBLE PRECISION array, dimension (2).RMAX(1)= Value of the largest test ratio ofCTRSYL;RMAX(2)= Value of the largest test ratio ofCTRSYL3.NINFOβNINFOisINTEGER array, dimension (2).NINFO(1)= No. of timesCTRSYLwhereINFOis nonzero;NINFO(2)= No. of timesCTRSYL3whereINFOis nonzero.KNTβKNTisINTEGER. Total number of examples tested.
π Definition at line 88 of file csyl01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie π this footer is giving LAPACK Version 3.12.0 and TESTING/EIG/csyl01.f(3). There's no actual date in that footer, so I'm not inventing one β periodt. π«Ά
π¦ 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