CTRSYL(3)
π¦ CTRSYL(3) β Library Functions Manual β¨
ok so picture this: you're deep in some LAPACK source tree at /home/abui...RC/ctrsyl.f(3) and the manual name is literally CTRSYL(3) β that's Library Functions Manual energy, bestie. this is the page for subroutine CTRSYL, and it's giving "math but make it fashion". let's go π
πΈ NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ctrsyl.f
like. that's the whole NAME section. it's just the file path. iconic of it honestly π
β¨ SYNOPSIS
Functions/Subroutines
subroutine CTRSYL (trana, tranb, isgn, m, n, a, lda, b, ldb, c, ldc,
scale, info)
CTRSYL β that's her. that's the subroutine π
π Function/Subroutine Documentation
subroutine CTRSYL (character trana, character tranb, integer isgn, integer
m, integer n, complex, dimension( lda, * ) a, integer lda, complex,
dimension( ldb, * ) b, integer ldb, complex, dimension( ldc, * ) c,
integer ldc, real scale, integer info)
CTRSYL. again. hi queen π«Ά
π Purpose:
ok so this is the moment. CTRSYL 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. no cap, that's the whole vibe check π₯
π Parameters
TRANAβ isCHARACTER*1. specifies the optionop(A):= 'N': op(A) = A (No transpose)β¨;= 'C': op(A) = A**H (Conjugate transpose)π«TRANBβ isCHARACTER*1. specifies the optionop(B):= 'N': op(B) = B (No transpose)β¨;= 'C': op(B) = B**H (Conjugate transpose)π«ISGNβ isINTEGER. specifies the sign in the equation:= +1: solve op(A)*X + X*op(B) = scale*CπΈ;= -1: solve op(A)*X - X*op(B) = scale*CπΈMβ isINTEGER. the order of the matrix A, and the number of rows in the matrices X and C.M >= 0. periodt πNβ isINTEGER. the order of the matrix B, and the number of columns in the matrices X and C.N >= 0. also periodt πAβ isCOMPLEX array, dimension (LDA,M). the upper triangular matrix A. that's her. that's the queen bee πLDAβ isINTEGER. the leading dimension of the array A.LDA >= max(1,M). don't get it wrong bestie πBβ isCOMPLEX array, dimension (LDB,N). the upper triangular matrix B. second main character energy π¦LDBβ isINTEGER. the leading dimension of the array B.LDB >= max(1,N). same rule, different letter πCβ isCOMPLEX array, dimension (LDC,N). on entry, the M-by-N right hand side matrix C. on exit, C is overwritten by the solution matrix X. so she gets replaced, no biggie, glow-up moment πLDCβ isINTEGER. the leading dimension of the array C.LDC >= max(1,M). yes the page really does end that line without a period. we respect the original's choices π«ΆSCALEβ isREAL. the scale factor,scale, set<= 1to avoid overflow in X. literally keeping X from overflowing, she's a bodyguard πINFOβ isINTEGER:= 0: successful exit π slay< 0: ifINFO = -i, the i-th argument had an illegal value π= 1: A and B have common or very close eigenvalues; perturbed values were used to solve the equation (but the matrices A and B are unchanged). ngl that's a little spooky but the matrices are fine, she promises π
π§ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
shoutout to the whole team, we stan π
Definition at line 155 of file ctrsyl.f. not me knowing exactly where she lives π
β Author
Generated automatically by Doxygen for LAPACK from the source code. a robot wrote this page and honestly? she ate π€π
lowkey reminder: INFO = 1 means perturbed values were used, but the matrices A and B are unchanged β do not come for A and B, they're innocent π«Ά
and that's the whole page!! toodles bestie π
LAPACK β Version 3.12.0 Β· /home/abui...RC/ctrsyl.f(3) Β· mwah, see u in the man pages ππ
π¦ 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