/home/abui...N/slatm6.f(3)
okay bestie, welcome to the Library Functions Manual page for /home/abui...N/slatm6.f(3) π
β¨. This one is all about the SLATM6 subroutine, and itβs giving test-matrix construction realness.
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/slatm6.f β thatβs the name, bestie. Yes, itβs a whole path. Periodt.
β¨ SYNOPSIS β¨
Hereβs the signature screenshot, no cap:
subroutine SLATM6 (type, n, a, lda, b, x, ldx, y, ldy, alpha, beta, wx,
wy, s, dif)
SLATM6
π Functions/Subroutines π
The star of the show is literally this:
subroutine SLATM6 (type, n, a, lda, b, x, ldx, y, ldy, alpha, beta, wx,
wy, s, dif)
SLATM6
π¦ Function/Subroutine Documentation π¦
Full signature with all the types, because we respect the details:
subroutine SLATM6 (integer type, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( lda, * ) b, real, dimension( ldx, * ) x,
integer ldx, real, dimension( ldy, * ) y, integer ldy, real alpha, real
beta, real wx, real wy, real, dimension( * ) s, real, dimension( * )
dif)
SLATM6
πΈ Purpose πΈ
okay so hereβs the tea: SLATM6 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, the original says 1th β we respect the lore π.
Test Matrices β the original underlines it with =============, iconic:
Test Matrices
=============
Two kinds of test matrix pairs
(A, B) = inverse(YH) * (Da, Db) * inverse(X)
are used in the tests:
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.
π Parameters π
Every parameter, bestie, no skips:
TYPEβTYPEisINTEGER; specifies the problem type (see further details).NβNisINTEGER; size of the matricesAandB.AβAisREALarray, dimension(LDA, N). On exitAN-by-Nis initialized according toTYPE.LDAβLDAisINTEGER; the leading dimension ofAand ofB.BβBisREALarray, dimension(LDA, N). On exitBN-by-Nis initialized according toTYPE.XβXisREALarray, dimension(LDX, N). On exitXis theN-by-Nmatrix of right eigenvectors.LDXβLDXisINTEGER; the leading dimension ofX.YβYisREALarray, dimension(LDY, N). On exitYis theN-by-Nmatrix of left eigenvectors.LDYβLDYisINTEGER; the leading dimension ofY.ALPHAβALPHAisREAL.BETAβBETAisREAL. Weighting constants for matrixA.WXβWXisREAL; constant for right eigenvector matrix.WYβWYisREAL; constant for left eigenvector matrix.SβSisREALarray, dimension(N).S(i)is the reciprocal condition number for eigenvaluei.DIFβDIFisREALarray, 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 174 of file slatm6.f π
Definition at line 174 of file slatm6.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Final footer sign-off: LAPACK Version 3.12.0, source page /home/abui...N/slatm6.f(3). Thatβs the whole manual page β slay, bye ππ«Άπ
π¦ 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