TESTING/EIG/sglmts.f(3)

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

πŸ’– TESTING/EIG/sglmts.f(3) πŸ’–

Bestie, this page is from the Library Functions Manual, and it's all about TESTING/EIG/sglmts.f β€” yes, the test routine is serving main character energy. 🧚✨


🌸 NAME 🌸

TESTING/EIG/sglmts.f β€” that's the name, that's the whole name, and honestly? Iconic. πŸ’…


✨ SYNOPSIS ✨

πŸŽ€ Functions/Subroutines πŸŽ€

Here's the cast list, no cap:

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

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

🌟 subroutine sglmts 🌟

Full signature, copied exactly because we do not play with code:

       subroutine sglmts (integer n, integer m, integer p, real, dimension( lda, *
       ) a, real, dimension( lda, * ) af, integer lda, real, dimension( ldb, *
       ) b, real, dimension( ldb, * ) bf, integer ldb, real, dimension( * ) d,
       real, dimension( * ) df, real, dimension( * ) x, real, dimension( * ) u,
       real, dimension( lwork ) work, integer lwork, real, dimension( * )
       rwork, real result)
       SGLMTS

πŸ’œ Purpose πŸ’œ

SGLMTS tests SGGGLM β€” a subroutine for solving the generalized linear model problem. Lowkey important, highkey slaying. πŸ”₯

πŸ“ Parameters πŸ“

  • N β€” N is INTEGER. N >= 0. The number of rows of the matrices A and B.
  • M β€” M is INTEGER. M >= 0. The number of columns of the matrix A.
  • P β€” P is INTEGER. P >= 0. The number of columns of the matrix B.
  • A β€” A is REAL array, dimension (LDA,M). The N-by-M matrix A.
  • AF β€” AF is REAL array, dimension (LDA,M). No extra lore, just the type and dimension.
  • LDA β€” LDA is INTEGER. The leading dimension of the arrays A, AF. LDA >= max(M,N).
  • B β€” B is REAL array, dimension (LDB,P). The N-by-P matrix A. (Yes, the page literally says A there β€” I'm not changing a single character, bestie. πŸ™ˆ)
  • BF β€” BF is REAL array, dimension (LDB,P). Just the type and dimension, periodt.
  • LDB β€” LDB is INTEGER. The leading dimension of the arrays B, BF. LDB >= max(P,N).
  • D β€” D is REAL array, dimension( N ). On input, the left hand side of the GLM.
  • DF β€” DF is REAL array, dimension( N ). That's the whole note.
  • X β€” X is REAL array, dimension( M ). Solution vector X in the GLM problem.
  • U β€” U is REAL array, dimension( P ). Solution vector U in the GLM problem.
  • WORK β€” WORK is REAL array, dimension (LWORK). That's it, that's the vibe.
  • LWORK β€” LWORK is INTEGER. The dimension of the array WORK.
  • RWORK β€” RWORK is REAL array, dimension (M). Short and sweet.
  • RESULT β€” RESULT is REAL. 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 147 of file sglmts.f.


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code.


Catch you in the footer, bestie: LAPACK Version 3.12.0, page TESTING/EIG/sglmts.f(3) β€” that's the source/version tea, and we're out. πŸ«ΆπŸ’œβœ¨

πŸ“¦ where this page comes from