TESTING/LIN/clqt02.f(3)

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

okay so bestie, welcome to the TESTING/LIN/clqt02.f(3) page from the Library Functions Manual β€” it’s giving LAPACK testing energy and it’s all about clqt02. πŸ’…

🌸 NAME 🌸

TESTING/LIN/clqt02.f β€” that’s the manual page name, and the star of the show is the clqt02 subroutine. Periodt. ✨

✨ SYNOPSIS ✨

Functions/Subroutines

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

CLQT02

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

subroutine clqt02 (integer m, integer n, integer k, complex, dimension( lda,
    * ) a, complex, dimension( lda, * ) af, complex, dimension( lda, * ) q,
    complex, dimension( lda, * ) l, integer lda, complex, dimension( * )
    tau, complex, dimension( lwork ) work, integer lwork, real, dimension( *
    ) rwork, real, dimension( * ) result)

CLQT02

πŸ’– Purpose πŸ’–

okay so CLQT02 tests CUNGLQ, which generates an m-by-n matrix Q with orthonormal rows, and that Q is defined as the product of k elementary reflectors. no cap. 🫢

Given the LQ factorization of an m-by-n matrix A, CLQT02 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. πŸ’…

πŸŽ€ 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 array, dimension (LDA,N). It’s the m-by-n matrix A which was factorized by CLQT01.
  • AF β€” AF is COMPLEX array, dimension (LDA,N). It holds details of the LQ factorization of A, as returned by CGELQF. See CGELQF for further details.
  • Q β€” Q is COMPLEX array, dimension (LDA,N).
  • L β€” L is COMPLEX array, dimension (LDA,M).
  • LDA β€” LDA is INTEGER. It’s the leading dimension of the arrays A, AF, Q and L. Constraint: LDA >= N.
  • TAU β€” TAU is COMPLEX array, dimension (M). It holds the scalar factors of the elementary reflectors corresponding to the LQ factorization in AF.
  • WORK β€” WORK is COMPLEX array, dimension (LWORK).
  • LWORK β€” LWORK is INTEGER. It’s the dimension of the array WORK.
  • RWORK β€” RWORK is REAL array, dimension (M).
  • RESULT β€” RESULT is REAL array, dimension (2). It holds the test ratios:
RESULT(1) = norm( L - A*Q' ) / ( N * norm(A) * EPS )
RESULT(2) = norm( I - Q*Q' ) / ( N * EPS )

πŸ‘‘ Author πŸ‘‘

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

Definition at line 133 of file clqt02.f. ✨

🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code.


footer vibe check, bestie: this is LAPACK Version 3.12.0 for TESTING/LIN/clqt02.f(3) β€” and nope, the footer doesn’t give a date line, so I’m not inventing one. πŸ’–πŸŽ€

πŸ“¦ where this page comes from