SRC/dtrsyl.f(3)
π SRC/dtrsyl.f(3) π
okay so bestie, welcome to the SRC/dtrsyl.f(3) page from the Library Functions Manual. This is the DTRSYL moment, and yes, itβs giving linear algebra main character energy. π«Ά
β¨ NAME β¨
SRC/dtrsyl.f β thatβs the name, no cap. The icon of the page is dtrsyl, the real Sylvester equation solver. π
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine dtrsylβDTRSYL, the whole vibe. Signature below, exactly:
subroutine dtrsyl (trana, tranb, isgn, m, n, a, lda, b, ldb, c, ldc,
scale, info)
DTRSYL
π Function/Subroutine Documentation π
π§ subroutine dtrsyl π§
subroutine dtrsyl (character trana, character tranb, integer isgn, integer
m, integer n, double precision, dimension( lda, * ) a, integer lda,
double precision, dimension( ldb, * ) b, integer ldb, double precision,
dimension( ldc, * ) c, integer ldc, double precision scale, integer
info)
DTRSYL
β¨ Purpose β¨
okay so DTRSYL solves the real 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**T, and A and B are both upper quasi-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. π
bestie, listen:AandBmust be in Schur canonical form (as returned byDHSEQR), that is, block upper triangular with 1-by-1 and 2-by-2 diagonal blocks; each 2-by-2 diagonal block has its diagonal elements equal and its off-diagonal elements of opposite sign. Thatβs the requirement, periodt. π
π Parameters π
TRANAβTRANA is CHARACTER*1; specifies the optionop(A):
= 'N': op(A) = A (No transpose)
= 'T': op(A) = A**T (Transpose)
= 'C': op(A) = A**H (Conjugate transpose = Transpose)
TRANBβTRANB is CHARACTER*1; specifies the optionop(B):
= 'N': op(B) = B (No transpose)
= 'T': op(B) = B**T (Transpose)
= 'C': op(B) = B**H (Conjugate transpose = 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 DOUBLE PRECISION array, dimension (LDA,M); the upper quasi-triangular matrixA, in Schur canonical form. πLDAβLDA is INTEGER; the leading dimension of the arrayA.LDA >= max(1,M).BβB is DOUBLE PRECISION array, dimension (LDB,N); the upper quasi-triangular matrixB, in Schur canonical form. π¦LDBβLDB is INTEGER; the leading dimension of the arrayB.LDB >= max(1,N).CβC is DOUBLE PRECISION array, dimension (LDC,N); on entry, theM-by-Nright 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 DOUBLE PRECISION; 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).
ngl, thatINFO = 1note is important:AandBhave common or very close eigenvalues, and perturbed values were used to solve the equation β but the matricesAandBare unchanged. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 162 of file dtrsyl.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the sign-off, bestie: LAPACK Version 3.12.0, SRC/dtrsyl.f(3) β slay, bye! πβ¨π
π¦ 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