TESTING/EIG/zglmts.f(3)

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

🌸 NAME

okay so this page is TESTING/EIG/zglmts.f, and it lives in the Library Functions Manual β€” literally the LAPACK testing page for the zglmts subroutine. It’s giving β€œI test ZGGGLM” energy, and we’re gonna go through every single parameter because bestie deserves the full tea. πŸ’…

✨ SYNOPSIS

🧚 Functions/Subroutines

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

πŸŽ€ 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

πŸ’– Purpose

Bestie, ZGLMTS tests ZGGGLM β€” a subroutine for solving the generalized linear model problem. That’s the whole purpose. It’s the vibe check for the solver. ✨

🌸 Parameters

  • N β€” N is INTEGER. The number of rows of the matrices A and B. N >= 0. ✨
  • M β€” M is INTEGER. The number of columns of the matrix A. M >= 0. πŸ’–
  • P β€” P is INTEGER. The number of columns of the matrix B. P >= 0. πŸŽ€
  • A β€” A is COMPLEX*16 array, dimension (LDA,M). The N-by-M matrix A.
  • AF β€” AF is COMPLEX*16 array, dimension (LDA,M).
  • LDA β€” LDA is INTEGER. The leading dimension of the arrays A, AF. LDA >= max(M,N).
  • B β€” B is COMPLEX*16 array, dimension (LDB,P). The N-by-P matrix A. (yes, it literally says A here β€” I’m just the messenger 😭)
  • BF β€” BF is COMPLEX*16 array, dimension (LDB,P).
  • LDB β€” LDB is INTEGER. The leading dimension of the arrays B, BF. LDB >= max(P,N).
  • D β€” D is COMPLEX*16 array, dimension( N ). On input, the left hand side of the GLM.
  • DF β€” DF is COMPLEX*16 array, dimension( N ).
  • 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.
  • WORK β€” WORK is COMPLEX*16 array, dimension (LWORK).
  • LWORK β€” LWORK is INTEGER. The dimension of the array WORK.
  • RWORK β€” RWORK is DOUBLE PRECISION array, dimension (M).
  • RESULT β€” RESULT is DOUBLE PRECISION. The test ratio: πŸ’–
                           norm( d - A*x - B*u )
            RESULT = -----------------------------------------
                     (norm(A)+norm(B))*(norm(x)+norm(u))*EPS

πŸ‘‘ Author

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

Definition at line 144 of file zglmts.f. 🫢

🫢 Author

Generated automatically by Doxygen for LAPACK from the source code. (Doxygen said β€œI got this,” and honestly? Iconic.) ✨


mwah πŸ’‹ β€” source/version vibes: LAPACK Version 3.12.0, page: TESTING/EIG/zglmts.f(3). The footer doesn’t list a separate date, so we’re not inventing one, periodt. πŸŽ€

πŸ“¦ where this page comes from