/home/abui...N/dlatm6.f(3)
okay so bestie, youโve opened dlatm6.f(3) from the Library Functions Manual โ and itโs giving very โdeep in the LAPACK build treeโ energy ๐
โจ
โจ NAME โจ
The full path is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/dlatm6.f
๐ฆ SYNOPSIS ๐ฆ
Functions/Subroutines
subroutine DLATM6 (type, n, a, lda, b, x, ldx, y, ldy, alpha, beta, wx,
wy, s, dif)
DLATM6
๐ง Function/Subroutine Documentation ๐ง
Full signature, no cap:
subroutine DLATM6 (integer type, integer n, double precision, dimension(
lda, * ) a, integer lda, double precision, dimension( lda, * ) b, double
precision, dimension( ldx, * ) x, integer ldx, double precision,
dimension( ldy, * ) y, integer ldy, double precision alpha, double
precision beta, double precision wx, double precision wy, double
precision, dimension( * ) s, double precision, dimension( * ) dif)
DLATM6
๐ Purpose ๐
okay so DLATM6 is here to generate test matrices for the generalized eigenvalue problem, plus 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, 1th โ thatโs the pageโs lore, and we respect it ๐ซถ)
๐งฎ Test Matrices ๐งฎ
Two kinds of test matrix pairs are used in the tests:
(A, B) = inverse(YH) * (Da, Db) * inverse(X)
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 -1 0 0 0 Db = 1 0 0 0 0
1 1 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 0 0 0 1 0
0 0 0 -1-b 1+a , 0 0 0 0 1 .
In both cases the same inverse(YH) and inverse(X) are used to compute (A, B), giving the exact eigenvectors to (A,B) as (YH, X):
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 a, b, x and y will have all values independently of each other. iconic behavior honestly ๐ธ
๐ Parameters ๐
๐ TYPE ๐
TYPE is INTEGER. Specifies the problem type (see further details).
๐ N ๐
N is INTEGER. Size of the matrices A and B.
๐ A ๐
A is DOUBLE PRECISION array, dimension (LDA, N). On exit A N-by-N is initialized according to TYPE.
๐ฆ LDA ๐ฆ
LDA is INTEGER. The leading dimension of A and of B.
๐ B ๐
B is DOUBLE PRECISION array, dimension (LDA, N). On exit B N-by-N is initialized according to TYPE.
๐ง X ๐ง
X is DOUBLE PRECISION array, dimension (LDX, N). On exit X is the N-by-N matrix of right eigenvectors.
โญ LDX โญ
LDX is INTEGER. The leading dimension of X.
๐ Y ๐
Y is DOUBLE PRECISION array, dimension (LDY, N). On exit Y is the N-by-N matrix of left eigenvectors.
๐ LDY ๐
LDY is INTEGER. The leading dimension of Y.
๐ฅ ALPHA ๐ฅ
ALPHA is DOUBLE PRECISION.
๐ BETA ๐
BETA is DOUBLE PRECISION. Weighting constants for matrix A.
๐ WX ๐
WX is DOUBLE PRECISION. Constant for right eigenvector matrix.
๐ฆ WY ๐ฆ
WY is DOUBLE PRECISION. Constant for left eigenvector matrix.
๐ S ๐
S is DOUBLE PRECISION array, dimension (N). S(i) is the reciprocal condition number for eigenvalue i.
๐ธ DIF ๐ธ
DIF is DOUBLE PRECISION array, dimension (N). DIF(i) is the reciprocal condition number for eigenvector i.
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 174 of file dlatm6.f.
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code.
thatโs the whole page, bestie ๐ซถ โ LAPACK, Version 3.12.0, page path /home/abui...N/dlatm6.f(3). now go forth and slay those generalized eigenvalue tests ๐
โจ
๐ฆ 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