TESTING/MATGEN/slakf2.f(3)

πŸ“¦
version 3.12.1 Β· 2 versions
, in arch rolling

πŸ’– 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 β€” M is INTEGER. Size of matrix, must be >= 1.
  • N β€” N is INTEGER. Size of matrix, must be >= 1.
  • A β€” A is REAL, dimension ( LDA, M ). The matrix A in the output matrix Z.
  • LDA β€” LDA is INTEGER. The leading dimension of A, B, D, and E. ( LDA >= M+N )
  • B β€” B is REAL, dimension ( LDA, N ).
  • D β€” D is REAL, dimension ( LDA, M ).
  • E β€” E is REAL, dimension ( LDA, N ). The matrices used in forming the output matrix Z.
  • Z β€” Z is REAL, dimension ( LDZ, 2*M*N ). The resultant Kronecker M*N*2 by M*N*2 matrix (see above.)
  • LDZ β€” LDZ is INTEGER. The leading dimension of Z. ( 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