SQRT03(3)
β¨ 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 INTEGERand itβs the order of the orthogonal matrixQ.M >= 0πNβN is INTEGERand itβs the number of rows or columns of the matrixC;Cism-by-nifQis applied from the left, orn-by-mifQis applied from the right.N >= 0πΈKβK is INTEGERand itβs the number of elementary reflectors whose product defines the orthogonal matrixQ.M >= K >= 0β¨AFβAF is REAL array, dimension (LDA,N)and it holds details of the QR factorization of anm-by-nmatrix, as returned bySGEQRF. SeeSGEQRFfor 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 INTEGERand itβs the leading dimension of the arraysAF,C,CC, andQπTAUβTAU is REAL array, dimension (min(M,N))and it holds the scalar factors of the elementary reflectors corresponding to the QR factorization inAFπWORKβWORK is REAL array, dimension (LWORK)π«ΆLWORKβLWORK is INTEGERand itβs the length ofWORK.LWORKmust be at leastM, and should beM*NB, whereNBis 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 matrixCby anm-by-morthogonal matrixQ:
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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms