CTRSYL(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ¦‹ 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 β€” is CHARACTER*1. specifies the option op(A): = 'N': op(A) = A (No transpose) ✨; = 'C': op(A) = A**H (Conjugate transpose) πŸ’«
  • TRANB β€” is CHARACTER*1. specifies the option op(B): = 'N': op(B) = B (No transpose) ✨; = 'C': op(B) = B**H (Conjugate transpose) πŸ’«
  • 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 β€” is INTEGER. the order of the matrix A, and the number of rows in the matrices X and C. M >= 0. periodt πŸ’…
  • N β€” is INTEGER. the order of the matrix B, and the number of columns in the matrices X and C. N >= 0. also periodt πŸ’…
  • A β€” is COMPLEX array, dimension (LDA,M). the upper triangular matrix A. that's her. that's the queen bee πŸ‘‘
  • LDA β€” is INTEGER. the leading dimension of the array A. LDA >= max(1,M). don't get it wrong bestie πŸ™ˆ
  • B β€” is COMPLEX array, dimension (LDB,N). the upper triangular matrix B. second main character energy πŸ¦‹
  • LDB β€” is INTEGER. the leading dimension of the array B. LDB >= max(1,N). same rule, different letter πŸŽ€
  • C β€” is COMPLEX 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 β€” is INTEGER. 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 β€” is REAL. the scale factor, scale, set <= 1 to avoid overflow in X. literally keeping X from overflowing, she's a bodyguard 😭
  • INFO β€” is INTEGER:
    • = 0: successful exit πŸŽ‰ slay
    • < 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 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