TESTING/MATGEN/slakf2.f(3)
π TESTING/MATGEN/slakf2.f(3)
okay so bestie, this page comes from the LAPACK Library Functions Manual, and it's all about the slakf2 subroutine. It's giving βbuild a big matrix from Kronecker productsβ energy, and honestly? Kinda iconic. π
πΈ NAME
TESTING/MATGEN/slakf2.f β that's the file, and the main character is slakf2.
β¨ SYNOPSIS
π Functions/Subroutines
subroutine slakf2 (m, n, a, lda, b, d, e, z, ldz)
SLAKF2
π FUNCTION/SUBROUTINE DOCUMENTATION
subroutine slakf2 (integer m, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( lda, * ) b, real, dimension( lda, * ) d,
real, dimension( lda, * ) e, real, dimension( ldz, * ) z, integer ldz)
SLAKF2 β that's the name, no cap. π«Ά
π Purpose
Okay so this one forms the 2*M*N by 2*M*N matrix Z:
Z = [ kron(In, A) -kron(B', Im) ]
[ kron(In, D) -kron(E', Im) ],
where In is the identity matrix of size n and X' is the transpose of X. And kron(X, Y) is the Kronecker product between the matrices X and Y. Math bestie behavior. β¨
π Parameters
MβMisINTEGER. Size of matrix, must be>= 1.NβNisINTEGER. Size of matrix, must be>= 1.AβAisREAL, dimension( LDA, M ). The matrixAin the output matrixZ.LDAβLDAisINTEGER. The leading dimension ofA,B,D, andE. (LDA >= M+N)BβBisREAL, dimension( LDA, N ).DβDisREAL, dimension( LDA, M ).EβEisREAL, dimension( LDA, N ). The matrices used in forming the output matrixZ.ZβZisREAL, dimension( LDZ, 2*M*N ). The resultant KroneckerM*N*2byM*N*2matrix (see above.)LDZβLDZisINTEGER. The leading dimension ofZ. (LDZ >= 2*M*N)
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 104 of file slakf2.f.
π§ AUTHOR
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page π β from the LAPACK footer, Version 3.12.0, page TESTING/MATGEN/slakf2.f(3). The footer doesn't show a separate date, so I'm not gonna make one up β no cap, that's the info as given. π«Άπ
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms