TESTING/EIG/dgqrts.f(3)

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

πŸ’… NAME πŸ’…

okay so this is the manual page for TESTING/EIG/dgqrts.f, and it's coming at you from the Library Functions Manual. That's the whole NAME section, bestie β€” it's a file hanging out in the LAPACK testing corner of the universe. 🫢


✨ SYNOPSIS ✨

Quick vibe check: here's the function/subroutine situation.

πŸ›  Functions/Subroutines

       subroutine dgqrts (n, m, p, a, af, q, r, lda, taua, b, bf, z, t, bwk,
           ldb, taub, work, lwork, rwork, result)
           DGQRTS

🧚 Function/Subroutine Documentation 🧚

Here's the full signature, character-for-character, no cap:

subroutine dgqrts (integer n, integer m, integer p, double precision,
       dimension( lda, * ) a, double precision, dimension( lda, * ) af, double
       precision, dimension( lda, * ) q, double precision, dimension( lda, * )
       r, integer lda, double precision, dimension( * ) taua, double precision,
       dimension( ldb, * ) b, double precision, dimension( ldb, * ) bf, double
       precision, dimension( ldb, * ) z, double precision, dimension( ldb, * )
       t, double precision, dimension( ldb, * ) bwk, integer ldb, double
       precision, dimension( * ) taub, double precision, dimension( lwork )
       work, integer lwork, double precision, dimension( * ) rwork, double
       precision, dimension( 4 ) result)
       DGQRTS

🎯 Purpose

okay so DGQRTS tests DGGQRF, which computes the GQR factorization of an N-by-M matrix A and a N-by-P matrix B: A = Q*R and B = Q*T*Z. That's the whole purpose, and it ate. πŸ’–

🌸 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 DOUBLE PRECISION array, dimension (LDA,M); the N-by-M matrix A.
  • AF β€” AF is DOUBLE PRECISION array, dimension (LDA,N); details of the GQR factorization of A and B, as returned by DGGQRF, see SGGQRF for further details.
  • Q β€” Q is DOUBLE PRECISION array, dimension (LDA,N); the M-by-M orthogonal matrix Q.
  • R β€” R is DOUBLE PRECISION array, dimension (LDA,MAX(M,N)). That's literally all the original says for this one β€” no extra description. 🫣
  • LDA β€” LDA is INTEGER; the leading dimension of the arrays A, AF, R and Q. LDA >= max(M,N).
  • TAUA β€” TAUA is DOUBLE PRECISION array, dimension (min(M,N)); the scalar factors of the elementary reflectors, as returned by DGGQRF.
  • B β€” B is DOUBLE PRECISION array, dimension (LDB,P); on entry, the N-by-P matrix A. (Yes, the original literally says A here β€” I'm not fixing it, bestie. πŸ™ˆ)
  • BF β€” BF is DOUBLE PRECISION array, dimension (LDB,N); details of the GQR factorization of A and B, as returned by DGGQRF, see SGGQRF for further details.
  • Z β€” Z is DOUBLE PRECISION array, dimension (LDB,P); the P-by-P orthogonal matrix Z.
  • T β€” T is DOUBLE PRECISION array, dimension (LDB,max(P,N)). No extra description in the original.
  • BWK β€” BWK is DOUBLE PRECISION array, dimension (LDB,N). No extra description in the original.
  • LDB β€” LDB is INTEGER; the leading dimension of the arrays B, BF, Z and T. LDB >= max(P,N).
  • TAUB β€” TAUB is DOUBLE PRECISION array, dimension (min(P,N)); the scalar factors of the elementary reflectors, as returned by DGGRQF.
  • WORK β€” WORK is DOUBLE PRECISION array, dimension (LWORK). No extra description in the original.
  • LWORK β€” LWORK is INTEGER; the dimension of the array WORK, LWORK >= max(N,M,P)**2.
  • RWORK β€” RWORK is DOUBLE PRECISION array, dimension (max(N,M,P)). No extra description in the original.
  • RESULT β€” RESULT is DOUBLE PRECISION array, dimension (4); the test ratios:
RESULT(1) = norm( R - Q'*A ) / ( MAX(M,N)*norm(A)*ULP)
RESULT(2) = norm( T*Z - Q'*B ) / (MAX(P,N)*norm(B)*ULP)
RESULT(3) = norm( I - Q'*Q ) / ( M*ULP )
RESULT(4) = norm( I - Z'*Z ) / ( P*ULP )

πŸ‘‘ Author

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

Definition at line 174 of file dgqrts.f.


πŸ’– Author πŸ’–

This page was generated automatically by Doxygen for LAPACK from the source code. Slay, automated docs. ✨


mwah πŸ’‹ β€” source/version tea: LAPACK, Version 3.12.0, and this page is TESTING/EIG/dgqrts.f(3). Bye bestie! πŸŒˆπŸŽ€

πŸ“¦ where this page comes from