/home/abui...N/zlakf2.f(3)
β¨ /home/abui...N/zlakf2.f(3) β¨
okay bestie, welcome to a Library Functions Manual page π this one is literally a LAPACK test-matrix generator subroutine and it's giving very specific math vibes. buckle up π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/zlakf2.f
that's the whole name, yes, it's a whole path, no we're not gonna shorten it, periodt π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine ZLAKF2 (m, n, a, lda, b, d, e, z, ldz)β ZLAKF2. that's it. that's the subroutine π«Ά
π Function/Subroutine Documentation π
subroutine ZLAKF2 (integer m, integer n, complex*16, dimension( lda, * ) a,
integer lda, complex*16, dimension( lda, * ) b, complex*16, dimension(
lda, * ) d, complex*16, dimension( lda, * ) e, complex*16, dimension(
ldz, * ) z, integer ldz)
ZLAKF2 β¨ (yes it says its own name again, it's confident like that, main character energy π)
π― Purpose
!> !> Form the 2*M*N by 2*M*N matrix !> !> 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. kron(X, Y) is the Kronecker product between the matrices X !> and Y. !>
like, it literally builds a big block matrix out of Kronecker products π so iconic
π§ Parameters
M
!> M is INTEGER !> Size of matrix, must be >= 1. !>
so M is an INTEGER, it's the size of the matrix, and it must be >= 1 β no zero, no negatives, don't even try it π
N
!> N is INTEGER !> Size of matrix, must be >= 1. !>
same deal, N is an INTEGER, size of the matrix, must be >= 1 β
A
!> A is COMPLEX*16, dimension ( LDA, M ) !> The matrix A in the output matrix Z. !>
A is COMPLEX*16, dimension ( LDA, M ), and it's literally the matrix A that ends up inside the output matrix Z π«Ά
LDA
!> LDA is INTEGER !> The leading dimension of A, B, D, and E. ( LDA >= M+N ) !>
LDA is INTEGER, it's the leading dimension of A, B, D, and E β one dimension to rule them all π and it's ( LDA >= M+N ), don't forget the +N bestie
B
!> B is COMPLEX*16, dimension ( LDA, N ) !>
B is COMPLEX*16, dimension ( LDA, N ). that's the whole note, it's lowkey mysterious π
D
!> D is COMPLEX*16, dimension ( LDA, M ) !>
D is COMPLEX*16, dimension ( LDA, M ). equally mysterious. we love a consistent queen π
E
!> E is COMPLEX*16, dimension ( LDA, N ) !> !> The matrices used in forming the output matrix Z. !>
E is COMPLEX*16, dimension ( LDA, N ). and this is where it spills the tea: these matrices (A, B, D, E) are the ones used in forming the output matrix Z β¨
Z
!> Z is COMPLEX*16, dimension ( LDZ, 2*M*N ) !> The resultant Kronecker M*N*2 by M*N*2 matrix (see above.) !>
Z is COMPLEX*16, dimension ( LDZ, 2*M*N ) β the resultant Kronecker M*N*2 by M*N*2 matrix (see above, it already showed you the block form π)
LDZ
!> LDZ is INTEGER !> The leading dimension of Z. ( LDZ >= 2*M*N ) !>
LDZ is INTEGER, the leading dimension of Z, and ( LDZ >= 2*M*N ) β note that it's 2*M*N and not M+N like LDA was, okurrr π₯
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four whole institutions, they ate π
Definition at line 104 of file zlakf2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
not a human, a robot wrote this page, and it did a slay job honestly π€β¨
and that's the whole thing bestie, you're now fully educated on ZLAKF2 π
LAPACK β Version 3.12.0, page /home/abui...N/zlakf2.f(3) β mwah, go build some Kronecker products, ily ππ¦
π¦ 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