/home/abui...N/zlatm6.f(3)
π¦ NAME π¦
ok so this is the manual page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/zlatm6.f β it's a library functions manual page, bestie, and no I will not be shortening that path, it's part of the lore π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ZLATM6 (type, n, a, lda, b, x, ldx, y, ldy, alpha, beta, wx, wy, s, dif)β literally the whole function, and yes it's a lot of arguments, we'll get to them πΈZLATM6β that's it, that's the name π
π Function/Subroutine Documentation π
subroutine ZLATM6 (integer type, integer n, complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension( lda, * ) b, complex*16, dimension( ldx, * ) x, integer ldx, complex*16, dimension( ldy, * ) y, integer ldy, complex*16 alpha, complex*16 beta, complex*16 wx, complex*16 wy, double precision, dimension( * ) s, double precision, dimension( * ) dif)
ZLATM6 π
Purpose:
ok so here's the tea π«
ZLATM6 generates test matrices for the generalized eigenvalue problem, their corresponding right and left eigenvector matrices, and also reciprocal condition numbers for all eigenvalues and the reciprocal condition numbers of eigenvectors corresponding to the 1th and 5th eigenvalues.
(yes it really says "1th", we do not fix it, we respect the source π)
Test Matrices π§
so there are two kinds of test matrix pairs
(A, B) = inverse(YH) * (Da, Db) * inverse(X)
that get used in the tests, and they are:
Type 1:
Da = 1+a 0 0 0 0 Db = 1 0 0 0 0
0 2+a 0 0 0 0 1 0 0 0
0 0 3+a 0 0 0 0 1 0 0
0 0 0 4+a 0 0 0 0 1 0
0 0 0 0 5+a , 0 0 0 0 1
and Type 2:
Da = 1+i 0 0 0 0 Db = 1 0 0 0 0
0 1-i 0 0 0 0 1 0 0 0
0 0 1 0 0 0 0 1 0 0
0 0 0 (1+a)+(1+b)i 0 0 0 0 1 0
0 0 0 0 (1+a)-(1+b)i, 0 0 0 0 1 .
in both cases the same inverse(YH) and inverse(X) are used to compute (A, B), which gives you the exact eigenvectors to (A,B) as (YH, X) β iconic behavior, honestly π
YH: = 1 0 -y y -y X = 1 0 -x -x x
0 1 -y y -y 0 1 x -x -x
0 0 1 0 0 0 0 1 0 0
0 0 0 1 0 0 0 0 1 0
0 0 0 0 1, 0 0 0 0 1 , where
and a, b, x and y will have all values independently of each other. no cap, fully independent β¨
π Parameters π
TYPE
TYPEisINTEGERβ Specifies the problem type (see further details). it's giving "figure it out from the Purpose section" energy, and the details are literally up there π
N
NisINTEGERβ Size of the matricesAandB. that's the size, bestie, no more no less π
A
AisCOMPLEX*16array, dimension(LDA, N). On exitAN-by-Nis initialized according toTYPE. π₯
LDA
LDAisINTEGERβ The leading dimension ofAand ofB. note it's both of them, they share π
B
BisCOMPLEX*16array, dimension(LDA, N). On exitBN-by-Nis initialized according toTYPE. π
X
XisCOMPLEX*16array, dimension(LDX, N). On exitXis theN-by-Nmatrix of right eigenvectors. main character matrix fr fr π
LDX
LDXisINTEGERβ The leading dimension ofX. β¨
Y
YisCOMPLEX*16array, dimension(LDY, N). On exitYis theN-by-Nmatrix of left eigenvectors. the left counterpart, we love a balanced duo π«Ά
LDY
LDYisINTEGERβ The leading dimension ofY. πΈ
ALPHA
ALPHAisCOMPLEX*16β that's it. that's the whole description. slay, minimal, mysterious π
BETA
BETAisCOMPLEX*16β Weighting constants for matrixA. (the source has a little\verbatimmarker hanging around here, we're just gonna wave at it and move on π)
WX
WXisCOMPLEX*16β Constant for right eigenvector matrix. π
WY
WYisCOMPLEX*16β Constant for left eigenvector matrix. π
S
SisDOUBLE PRECISIONarray, dimension(N).S(i)is the reciprocal condition number for eigenvaluei. π₯
DIF
DIFisDOUBLE PRECISIONarray, dimension(N).DIF(i)is the reciprocal condition number for eigenvectori. π₯
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 172 of file zlatm6.f. β¨
π Author (again) π
Author: Generated automatically by Doxygen for LAPACK from the source code. not a human, just Doxygen doing its little automated thing π€β¨
so yeah, that's the whole page! this was LAPACK Version 3.12.0, and the whole thing is /home/abui...N/zlatm6.f(3) β hope that helped bestie, go forth and generate those test matrices πππ¦
π¦ 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