ZTRSYL(3)
π ZTRSYL(3) β bestie, we're solving the Sylvester equation today
okay so real talk: this page lives in the LAPACK manual, and the file it documents is literally
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ztrsyl.f
that's the whole NAME section, no notes, she's just a path π and honestly? iconic.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ZTRSYL (trana, tranb, isgn, m, n, a, lda, b, ldb, c, ldc, scale, info)β that's our girl,ZTRSYLπ
subroutine ZTRSYL (character trana, character tranb, integer isgn, integer
m, integer n, complex*16, dimension( lda, * ) a, integer lda,
complex*16, dimension( ldb, * ) b, integer ldb, complex*16, dimension(
ldc, * ) c, integer ldc, double precision scale, integer info)
πΈ Function/Subroutine Documentation πΈ
π§ Purpose
no cap, here's the whole vibe β ZTRSYL solves the complex Sylvester matrix equation:
op(A)*X + X*op(B) = scale*C or
op(A)*X - X*op(B) = scale*C,
where op(A) = A or A**H, and A and B are both upper triangular. A is M-by-M and B is N-by-N; the right hand side C and the solution X are M-by-N; and scale is an output scale factor, set <= 1 to avoid overflow in X. π«Ά
π Parameters
TRANAβTRANAisCHARACTER*1. Specifies the optionop(A):= 'N':op(A) = A(No transpose)= 'C':op(A) = A**H(Conjugate transpose)
TRANBβTRANBisCHARACTER*1. Specifies the optionop(B):= 'N':op(B) = B(No transpose)= 'C':op(B) = B**H(Conjugate transpose)
ISGNβISGNisINTEGER. Specifies the sign in the equation:= +1: solveop(A)*X + X*op(B) = scale*C= -1: solveop(A)*X - X*op(B) = scale*C
MβMisINTEGER. The order of the matrixA, and the number of rows in the matricesXandC.M >= 0. β¨NβNisINTEGER. The order of the matrixB, and the number of columns in the matricesXandC.N >= 0. β¨AβAisCOMPLEX*16array, dimension(LDA,M). The upper triangular matrixA. πLDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,M).BβBisCOMPLEX*16array, dimension(LDB,N). The upper triangular matrixB. πLDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).CβCisCOMPLEX*16array, dimension(LDC,N). On entry, theM-by-Nright hand side matrixC. On exit,Cis overwritten by the solution matrixX. π¦ (she gets replaced, so don't come crying if your originalCis gone)LDCβLDCisINTEGER. The leading dimension of the arrayC.LDC >= max(1,M)SCALEβSCALEisDOUBLE PRECISION. The scale factor,scale, set<= 1to avoid overflow inX. π₯INFOβINFOisINTEGER:= 0: successful exit π< 0: ifINFO = -i, thei-th argument had an illegal value= 1:AandBhave common or very close eigenvalues; perturbed values were used to solve the equation (but the matricesAandBare unchanged).
bestie listen π thatINFO = 1is not an error exactly, but it IS her way of saying "the eigenvalues were uncomfortably close so I fudged the numbers to get it done β yourAandBare untouched tho, promise."
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 155 of file ztrsyl.f. β
π Author
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page, iykyk π shoutout to the footer: LAPACK, Version 3.12.0, page source /home/abui...RC/ztrsyl.f(3) β mwah, go solve your triangular Sylvester equation, main character π§π
π¦ 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