TESTING/LIN/zqrt02.f(3)

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

okay so this is the TESTING/LIN/zqrt02.f(3) page from the Library Functions Manual β€” and it's literally the group chat for ZQRT02, a Fortran testing subroutine. Buckle up, bestie, because we're keeping every single detail πŸ’–

πŸ’– NAME πŸ’–

TESTING/LIN/zqrt02.f β€” that's the file, and it's the main character of this page. Periodt.

✨ SYNOPSIS ✨

🧚 Functions/Subroutines 🧚

subroutine zqrt02 (m, n, k, a, af, q, r, lda, tau, work, lwork, rwork,
           result)

ZQRT02

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

subroutine zqrt02 (integer m, integer n, integer k, complex*16, dimension(
    lda, * ) a, complex*16, dimension( lda, * ) af, complex*16, dimension(
    lda, * ) q, complex*16, dimension( lda, * ) r, integer lda, complex*16,
    dimension( * ) tau, complex*16, dimension( lwork ) work, integer lwork,
    double precision, dimension( * ) rwork, double precision, dimension( * )
    result)

ZQRT02

🌸 Purpose 🌸

ZQRT02 tests ZUNGQR, which generates an m-by-n matrix Q with orthonormal columns that is defined as the product of k elementary reflectors.

Given the QR factorization of an m-by-n matrix A, ZQRT02 generates the orthogonal matrix Q defined by the factorization of the first k columns of A; it compares R(1:n,1:k) with Q(1:m,1:n)'*A(1:m,1:k), and checks that the columns of Q are orthonormal.

πŸŽ€ Parameters πŸŽ€

  • M β€” M is INTEGER. The number of rows of the matrix Q to be generated. M >= 0.
  • N β€” N is INTEGER. The number of columns of the matrix Q to be generated. M >= N >= 0.
  • K β€” K is INTEGER. The number of elementary reflectors whose product defines the matrix Q. N >= K >= 0.
  • A β€” A is COMPLEX*16 array, dimension (LDA,N). The m-by-n matrix A which was factorized by ZQRT01.
  • AF β€” AF is COMPLEX*16 array, dimension (LDA,N). Details of the QR factorization of A, as returned by ZGEQRF. See ZGEQRF for further details.
  • Q β€” Q is COMPLEX*16 array, dimension (LDA,N).
  • R β€” R is COMPLEX*16 array, dimension (LDA,N).
  • LDA β€” LDA is INTEGER. The leading dimension of the arrays A, AF, Q and R. LDA >= M.
  • TAU β€” TAU is COMPLEX*16 array, dimension (N). The scalar factors of the elementary reflectors corresponding to the QR factorization in AF.
  • 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 array, dimension (2). The test ratios:
RESULT(1) = norm( R - Q'*A ) / ( M * norm(A) * EPS )
RESULT(2) = norm( I - Q'*Q ) / ( M * EPS )

πŸ’– Author πŸ’–

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

Definition at line 133 of file zqrt02.f.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for LAPACK from the source code.


okay that's the whole page, bestie β€” cute sign-off time: LAPACK Version 3.12.0, source file TESTING/LIN/zqrt02.f(3). The original footer didn't hand me a date, so I'm not making one up β€” no cap, just the source/version tea πŸ«ΆπŸ’…

πŸ“¦ where this page comes from