/home/abui...N/zlatm5.f(3)
πΈ NAME πΈ
okay bestie, welcome to the Library Functions Manual page for /home/abui...N/zlatm5.f(3) β yes, the whole little file lore is here π.
The actual file path is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/zlatm5.f and that's the whole name section, periodt β¨.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
ZLATM5 is the subroutine on the menu:
subroutine ZLATM5 (prtype, m, n, a, lda, b, ldb, c, ldc, d, ldd, e, lde,
f, ldf, r, ldr, l, ldl, alpha, qblcka, qblckb)
ZLATM5
π«Ά Function/Subroutine Documentation π«Ά
Here's the full signature, no crumbs left out:
subroutine ZLATM5 (integer prtype, 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, complex*16,
dimension( ldd, * ) d, integer ldd, complex*16, dimension( lde, * ) e,
integer lde, complex*16, dimension( ldf, * ) f, integer ldf, complex*16,
dimension( ldr, * ) r, integer ldr, complex*16, dimension( ldl, * ) l,
integer ldl, double precision alpha, integer qblcka, integer qblckb)
ZLATM5
π₯ Purpose π₯
ZLATM5 generates matrices involved in the Generalized Sylvester equation:
A * R - L * B = C
D * R - L * E = F
They also satisfy (the diagonalization condition):
[ I -L ] ( [ A -C ], [ D -F ] ) [ I R ] = ( [ A ], [ D ] )
[ I ] ( [ B ] [ E ] ) [ I ] ( [ B ] [ E ] )
π Parameters π
PRTYPEβPRTYPE is INTEGER, and it selects a certain type of the matrices to generate (see further details, bestie β that's where the real tea is π).MβM is INTEGER; it specifies the order ofAandD, and the number of rows inC,F,RandL.NβN is INTEGER; it specifies the order ofBandE, and the number of columns inC,F,RandL.AβCOMPLEX*16 array, dimension (LDA, M).On exit,AM-by-Mis initialized according toPRTYPE.LDAβLDA is INTEGER; the leading dimension ofA.BβCOMPLEX*16 array, dimension (LDB, N).On exit,BN-by-Nis initialized according toPRTYPE.LDBβLDB is INTEGER; the leading dimension ofB.CβCOMPLEX*16 array, dimension (LDC, N).On exit,CM-by-Nis initialized according toPRTYPE.LDCβLDC is INTEGER; the leading dimension ofC.DβCOMPLEX*16 array, dimension (LDD, M).On exit,DM-by-Mis initialized according toPRTYPE.LDDβLDD is INTEGER; the leading dimension ofD.EβCOMPLEX*16 array, dimension (LDE, N).On exit,EN-by-Nis initialized according toPRTYPE.LDEβLDE is INTEGER; the leading dimension ofE.FβCOMPLEX*16 array, dimension (LDF, N).On exit,FM-by-Nis initialized according toPRTYPE.LDFβLDF is INTEGER; the leading dimension ofF.RβCOMPLEX*16 array, dimension (LDR, N).On exit,RM-by-Nis initialized according toPRTYPE.LDRβLDR is INTEGER; the leading dimension ofR.LβCOMPLEX*16 array, dimension (LDL, N).On exit,LM-by-Nis initialized according toPRTYPE.LDLβLDL is INTEGER; the leading dimension ofL.ALPHAβALPHA is DOUBLE PRECISION; a parameter used in generatingPRTYPE = 1and5matrices.QBLCKAβQBLCKA is INTEGER; whenPRTYPE = 3, it specifies the distance between 2-by-2 blocks on the diagonal inA. Otherwise,QBLCKAis not referenced.QBLCKA > 1.QBLCKBβQBLCKB is INTEGER; whenPRTYPE = 3, it specifies the distance between 2-by-2 blocks on the diagonal inB. Otherwise,QBLCKBis not referenced.QBLCKB > 1.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Further Details π
π PRTYPE = 1 π
PRTYPE = 1: A and B are Jordan blocks, D and E are identity matrices
A : if (i == j) then A(i, j) = 1.0
if (j == i + 1) then A(i, j) = -1.0
else A(i, j) = 0.0, i, j = 1...M
B : if (i == j) then B(i, j) = 1.0 - ALPHA
if (j == i + 1) then B(i, j) = 1.0
else B(i, j) = 0.0, i, j = 1...N
D : if (i == j) then D(i, j) = 1.0
else D(i, j) = 0.0, i, j = 1...M
E : if (i == j) then E(i, j) = 1.0
else E(i, j) = 0.0, i, j = 1...N
L = R are chosen from [-10...10],
which specifies the right hand sides (C, F).
π¦ PRTYPE = 2 or 3 π¦
PRTYPE = 2 or 3: Triangular and/or quasi- triangular.
A : if (i <= j) then A(i, j) = [-1...1]
else A(i, j) = 0.0, i, j = 1...M
if (PRTYPE = 3) then
A(k + 1, k + 1) = A(k, k)
A(k + 1, k) = [-1...1]
sign(A(k, k + 1) = -(sin(A(k + 1, k))
k = 1, M - 1, QBLCKA
B : if (i <= j) then B(i, j) = [-1...1]
else B(i, j) = 0.0, i, j = 1...N
if (PRTYPE = 3) then
B(k + 1, k + 1) = B(k, k)
B(k + 1, k) = [-1...1]
sign(B(k, k + 1) = -(sign(B(k + 1, k))
k = 1, N - 1, QBLCKB
D : if (i <= j) then D(i, j) = [-1...1].
else D(i, j) = 0.0, i, j = 1...M
E : if (i <= j) then D(i, j) = [-1...1]
else E(i, j) = 0.0, i, j = 1...N
L, R are chosen from [-10...10],
which specifies the right hand sides (C, F).
π§ PRTYPE = 4 Full π§
PRTYPE = 4 Full
A(i, j) = [-10...10]
D(i, j) = [-1...1] i,j = 1...M
B(i, j) = [-10...10]
E(i, j) = [-1...1] i,j = 1...N
R(i, j) = [-10...10]
L(i, j) = [-1...1] i = 1..M ,j = 1...N
L, R specifies the right hand sides (C, F).
π PRTYPE = 5 π
PRTYPE = 5 special case common and/or close eigs.
Definition at line 265 of file zlatm5.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
cute little sign-off, bestie: this page is rockin' LAPACK, Version 3.12.0, and its manual-path moment is /home/abui...N/zlatm5.f(3) π«Άπ
β¨
π¦ 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