SQRT03(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

✨ SQRT03(3) ✨

okay bestie, welcome to the Library Functions Manual page for SQRT03 β€” it’s giving β€œLAPACK test routine energy” and we’re gonna get through every single detail together, no cap πŸ’…


πŸŽ€ NAME

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sqrt03.f

that’s the file this page is about, bestie 🫢


🌸 SYNOPSIS

πŸ¦‹ Functions/Subroutines

       subroutine SQRT03 (m, n, k, af, c, cc, q, lda, tau, work, lwork, rwork,
           result)
           SQRT03

πŸ’œ Function/Subroutine Documentation

   subroutine SQRT03 (integer m, integer n, integer k, real, dimension( lda, *
       ) af, real, dimension( lda, * ) c, real, dimension( lda, * ) cc, real,
       dimension( lda, * ) q, integer lda, real, dimension( * ) tau, real,
       dimension( lwork ) work, integer lwork, real, dimension( * ) rwork,
       real, dimension( * ) result)
       SQRT03

πŸ”₯ Purpose

okay so SQRT03 tests SORMQR, which computes Q*C, Q'*C, C*Q or C*Q' ✨

and SQRT03 compares the results of a call to SORMQR with the results of forming Q explicitly by a call to SORGQR and then performing matrix multiplication by a call to SGEMM. iconic comparison behavior, fr fr πŸ‘‘

🌈 Parameters

  • M β€” M is INTEGER and it’s the order of the orthogonal matrix Q. M >= 0 πŸ’–
  • N β€” N is INTEGER and it’s the number of rows or columns of the matrix C; C is m-by-n if Q is applied from the left, or n-by-m if Q is applied from the right. N >= 0 🌸
  • K β€” K is INTEGER and it’s the number of elementary reflectors whose product defines the orthogonal matrix Q. M >= K >= 0 ✨
  • AF β€” AF is REAL array, dimension (LDA,N) and it holds details of the QR factorization of an m-by-n matrix, as returned by SGEQRF. See SGEQRF for further details πŸ¦‹
  • C β€” C is REAL array, dimension (LDA,N) πŸ’…
  • CC β€” CC is REAL array, dimension (LDA,N) πŸ’…
  • Q β€” Q is REAL array, dimension (LDA,M) πŸ’…
  • LDA β€” LDA is INTEGER and it’s the leading dimension of the arrays AF, C, CC, and Q πŸŽ€
  • TAU β€” TAU is REAL array, dimension (min(M,N)) and it holds the scalar factors of the elementary reflectors corresponding to the QR factorization in AF 🌟
  • WORK β€” WORK is REAL array, dimension (LWORK) 🫢
  • LWORK β€” LWORK is INTEGER and it’s the length of WORK. LWORK must be at least M, and should be M*NB, where NB is the blocksize for this environment πŸ”₯
  • RWORK β€” RWORK is REAL array, dimension (M) 🌸
  • RESULT β€” RESULT is REAL array, dimension (4). The test ratios compare two techniques for multiplying a random matrix C by an m-by-m orthogonal matrix Q:
           RESULT(1) = norm( Q*C - Q*C )  / ( M * norm(C) * EPS )
           RESULT(2) = norm( C*Q - C*Q )  / ( M * norm(C) * EPS )
           RESULT(3) = norm( Q'*C - Q'*C )/ ( M * norm(C) * EPS )
           RESULT(4) = norm( C*Q' - C*Q' )/ ( M * norm(C) * EPS )

πŸ‘‘ Author

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

Definition at line 134 of file sqrt03.f.


🧚 Author

Generated automatically by Doxygen for LAPACK from the source code.


okay bye ily, and here’s the cute little sign-off: this whole vibe is LAPACK Version 3.12.0, and the footer tag is /home/abui...IN/sqrt03.f(3) πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from