TESTING/LIN/zlqt02.f(3)

๐Ÿ“ฆ
version 3.12.1 ยท 3 versions
, in arch rolling

๐ŸŽ€ TESTING/LIN/zlqt02.f(3) ๐ŸŽ€

Library Functions Manual, but make it bestie-friendly. This is the page for TESTING/LIN/zlqt02.f, and yes, it's giving serious LAPACK test-routine energy. ๐Ÿ’…


โœจ NAME โœจ

TESTING/LIN/zlqt02.f โ€” that's the name, no cap. ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

Functions/Subroutines

subroutine zlqt02 (m, n, k, a, af, q, l, lda, tau, work, lwork, rwork,
     result)
     ZLQT02

๐Ÿ“š Function/Subroutine Documentation ๐Ÿ“š

subroutine zlqt02 (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, * ) l, integer lda, complex*16,
     dimension( * ) tau, complex*16, dimension( lwork ) work, integer lwork,
     double precision, dimension( * ) rwork, double precision, dimension( * )
     result)
     ZLQT02

๐ŸŽฏ Purpose

Okay so here's the whole vibe: ZLQT02 tests ZUNGLQ, which generates an m-by-n matrix Q with orthonormal rows that is defined as the product of k elementary reflectors. ๐Ÿ‘‘

Given the LQ factorization of an m-by-n matrix A, ZLQT02 generates the orthogonal matrix Q defined by the factorization of the first k rows of A; it compares L(1:k,1:m) with A(1:k,1:n)*Q(1:m,1:n)', and checks that the rows of Q are orthonormal. That's the whole main-character job, periodt. ๐Ÿ’–

๐Ÿงฎ Parameters

  • M โ€” M is INTEGER. It's the number of rows of the matrix Q to be generated. Constraint: M >= 0.
  • N โ€” N is INTEGER. It's the number of columns of the matrix Q to be generated. Constraint: N >= M >= 0.
  • K โ€” K is INTEGER. It's the number of elementary reflectors whose product defines the matrix Q. Constraint: M >= K >= 0.
  • A โ€” A is COMPLEX*16 array, dimension (LDA,N). This is the m-by-n matrix A which was factorized by ZLQT01.
  • AF โ€” AF is COMPLEX*16 array, dimension (LDA,N). It holds details of the LQ factorization of A, as returned by ZGELQF. See ZGELQF for further details.
  • Q โ€” Q is COMPLEX*16 array, dimension (LDA,N). That's the whole description, bestie. Short and iconic.
  • L โ€” L is COMPLEX*16 array, dimension (LDA,M). Also short and iconic.
  • LDA โ€” LDA is INTEGER. It's the leading dimension of the arrays A, AF, Q and L. Constraint: LDA >= N.
  • TAU โ€” TAU is COMPLEX*16 array, dimension (M). These are the scalar factors of the elementary reflectors corresponding to the LQ factorization in AF.
  • WORK โ€” WORK is COMPLEX*16 array, dimension (LWORK). Werk, literally.
  • LWORK โ€” LWORK is INTEGER. It's the dimension of the array WORK.
  • RWORK โ€” RWORK is DOUBLE PRECISION array, dimension (M). Yes, real ones only. ๐Ÿ’œ
  • RESULT โ€” RESULT is DOUBLE PRECISION array, dimension (2). These are the test ratios: RESULT(1) = norm( L - A*Q' ) / ( N * norm(A) * EPS ) and RESULT(2) = norm( I - Q*Q' ) / ( N * EPS ).

๐Ÿ‘‘ Author

Shoutout to the author squad:

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

Definition at line 133 of file zlqt02.f.

๐Ÿค– Author

Generated automatically by Doxygen for LAPACK from the source code. The robots made this page, and honestly? They ate. ๐Ÿ”ฅ


Footer vibe check, bestie: LAPACK Version 3.12.0, page TESTING/LIN/zlqt02.f(3) โ€” that's the sign-off, and that's the whole footer. ๐Ÿ’–โœจ

๐Ÿ“ฆ where this page comes from