ZGLMTS(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

✨ ZGLMTS(3) ✨

okay so bestie, buckle up πŸ’– this one lives in the LAPACK manual β€” the page header is literally /home/abui...IG/zglmts.f(3), so yes, we're deep in the source tree, and no, the path is not a vibe, it's just where the file lives πŸŽ€


πŸ’… NAME

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/zglmts.f

like. that's the whole name. it's giving "my parents named me after my address" 😭 but that's literally what the page says and we respect it 🫢


🌸 SYNOPSIS

Functions/Subroutines

subroutine ZGLMTS (n, m, p, a, af, lda, b, bf, ldb, d, df, x, u, work,
    lwork, rwork, result)

ZGLMTS β€” that's her. that's the girl. πŸ‘‘


πŸ¦‹ Function/Subroutine Documentation

subroutine ZGLMTS (integer n, integer m, integer p, complex*16, dimension(
    lda, * ) a, complex*16, dimension( lda, * ) af, integer lda, complex*16,
    dimension( ldb, * ) b, complex*16, dimension( ldb, * ) bf, integer ldb,
    complex*16, dimension( * ) d, complex*16, dimension( * ) df, complex*16,
    dimension( * ) x, complex*16, dimension( * ) u, complex*16, dimension(
    lwork ) work, integer lwork, double precision, dimension( * ) rwork,
    double precision result)

ZGLMTS ✨ (yes she's listed again, she contains multitudes πŸ’œ)

πŸŽ€ Purpose:

ZGLMTS tests ZGGGLM β€” a subroutine for solving the generalized linear model problem.

no cap, that's the whole assignment. she's a tester. she tests the solver. main character energy honestly πŸ’…

🌈 Parameters

  • N β€” N is INTEGER. the number of rows of the matrices A and B, and N >= 0. no negative rows babe, that's not a thing 🫢
  • M β€” M is INTEGER. the number of columns of the matrix A, and M >= 0.
  • P β€” P is INTEGER. the number of columns of the matrix B, and P >= 0.
  • A β€” A is COMPLEX*16 array, dimension (LDA,M). it's the N-by-M matrix A. iconic, no notes 🌟
  • AF β€” AF is COMPLEX*16 array, dimension (LDA,M). that's it, that's the description, that's all the page gives us 🫠
  • LDA β€” LDA is INTEGER. the leading dimension of the arrays A, AF. LDA >= max(M,N). periodt, respect the bound βœ‹
  • B β€” B is COMPLEX*16 array, dimension (LDB,P). "The N-by-P matrix A." β€” yes bestie, the page literally says A here. i am not fixing it. i am not touching it. we honor the source code's typos like sacred artifacts πŸ’€πŸ™ˆ
  • BF β€” BF is COMPLEX*16 array, dimension (LDB,P). again: that's the whole description. she's mysterious. she's lowkey withholding πŸ”₯
  • LDB β€” LDB is INTEGER. the leading dimension of the arrays B, BF. LDB >= max(P,N). same energy as LDA, same rules πŸ’…
  • D β€” D is COMPLEX*16 array, dimension ( N ). on input, the left hand side of the GLM. she's the goal, the target, the dream 🎯
  • DF β€” DF is COMPLEX*16 array, dimension ( N ). no further comment from the manpage. take it up with the authors πŸ™ˆ
  • X β€” X is COMPLEX*16 array, dimension ( M ). solution vector X in the GLM problem πŸ’–
  • U β€” U is COMPLEX*16 array, dimension ( P ). solution vector U in the GLM problem πŸ’– (yes, two solution vectors, it's a whole duo, they're a package deal 🫢)
  • WORK β€” WORK is COMPLEX*16 array, dimension (LWORK). the workspace. the backstage. the green room 🌿
  • LWORK β€” LWORK is INTEGER. the dimension of the array WORK. that's it. that's the rule ⭐
  • RWORK β€” RWORK is DOUBLE PRECISION array, dimension (M). (yes, dimension M β€” not N, don't @ me, that's what it says 😭)
  • RESULT β€” RESULT is DOUBLE PRECISION. the test ratio:
                 norm( d - A*x - B*u )
  RESULT = -----------------------------------------
           (norm(A)+norm(B))*(norm(x)+norm(u))*EPS

like, how far off is the solve? that's the whole vibe check right there 🧚 small RESULT = she ate. big RESULT = something's sus πŸ‘€

πŸ‘‘ Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

the whole squad showed up for this one 🫢✨

πŸ“ Definition at line 144 of file zglmts.f.


πŸ’€ Author

Generated automatically by Doxygen for LAPACK from the source code. so a robot wrote this page and honestly? she did fine πŸ€–πŸŒΈ


okay that's the whole page, no crumbs left, every parameter accounted for, every bound respected, every typo preserved πŸ’œ

signing off with the footer tea: this is LAPACK, Version 3.12.0, from /home/abui...IG/zglmts.f(3) β€” go check your RESULT, bestie, and slay πŸŒˆπŸ’–

πŸ“¦ where this page comes from