SRC/ctrsyl.f(3)
β¨ NAME β¨
Library Functions Manual, but make it cute: this whole page is about SRC/ctrsyl.f (a.k.a. SRC/ctrsyl.f(3)), and honestly it's giving complex Sylvester equation solver main character energy. π«Ά
π SYNOPSIS π
Functions/Subroutines
subroutine ctrsyl (trana, tranb, isgn, m, n, a, lda, b, ldb, c, ldc,
scale, info)
CTRSYL β that's the icon, no cap. π
π οΈ 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 β yes bestie, same icon, now with the full glow-up signature. β¨
π― Purpose
Okay so 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. π«Ά
π§Έ Parameters
TRANAβTRANA is CHARACTER*1. Specifies the optionop(A):= 'N': op(A) = A (No transpose)= 'C': op(A) = A**H (Conjugate transpose)
TRANBβTRANB is CHARACTER*1. Specifies the optionop(B):= 'N': op(B) = B (No transpose)= 'C': op(B) = B**H (Conjugate transpose)
ISGNβISGN is INTEGER. 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βM is INTEGER. The order of the matrixA, and the number of rows in the matricesXandC.M >= 0.NβN is INTEGER. The order of the matrixB, and the number of columns in the matricesXandC.N >= 0.AβA is COMPLEX array, dimension (LDA,M). The upper triangular matrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).BβB is COMPLEX array, dimension (LDB,N). The upper triangular matrixB.LDBβLDB is INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).CβC is COMPLEX array, dimension (LDC,N). On entry, the M-by-N right hand side matrixC. On exit,Cis overwritten by the solution matrixX.LDCβLDC is INTEGER. The leading dimension of the arrayC.LDC >= max(1,M)SCALEβSCALE is REAL. The scale factor,scale, set<= 1to avoid overflow inX.INFOβINFO is INTEGER:= 0: successful exit< 0: if INFO = -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).
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 155 of file ctrsyl.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie β every flag and fact accounted for, periodt. Sign-off vibes: LAPACK Version 3.12.0, SRC/ctrsyl.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