/home/abui.../sqrt01p.f(3)
πΈ NAME πΈ
Okay so bestie, this page is for /home/abui.../sqrt01p.f(3) β and the manual name is Library Functions Manual. The name itself is this entire absolute path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sqrt01p.f
Itβs giving βfull path realness,β no cap.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine SQRT01P (m, n, a, af, q, r, lda, tau, work, lwork, rwork,
result)
SQRT01P
π Function/Subroutine Documentation π
subroutine SQRT01P (integer m, integer n, real, dimension( lda, * ) a, real,
dimension( lda, * ) af, real, dimension( lda, * ) q, real, dimension(
lda, * ) r, integer lda, real, dimension( * ) tau, real, dimension(
lwork ) work, integer lwork, real, dimension( * ) rwork, real,
dimension( * ) result)
SQRT01P
π¦ Purpose π¦
Itβs literally in Fortran comment markers, so here they are, preserved exactly:
!>
!> SQRT01P tests SGEQRFP, which computes the QR factorization of an m-by-n
!> matrix A, and partially tests SORGQR which forms the m-by-m
!> orthogonal matrix Q.
!>
!> SQRT01P compares R with Q'*A, and checks that Q is orthogonal.
!>
π Parameters π
MβM is INTEGER. Itβs the number of rows of the matrixA. Condition:M >= 0. Periodt.NβN is INTEGER. Itβs the number of columns of the matrixA. Condition:N >= 0. Slay.AβA is REAL array, dimension (LDA,N). This is them-by-nmatrixA.AFβAF is REAL array, dimension (LDA,N). It holds details of the QR factorization ofA, as returned bySGEQRFP. SeeSGEQRFPfor further details.QβQ is REAL array, dimension (LDA,M). This is them-by-morthogonal matrixQ.RβR is REAL array, dimension (LDA,max(M,N)).LDAβLDA is INTEGER. Itβs the leading dimension of the arraysA,AF,QandR. Condition:LDA >= max(M,N). Donβt fumble that one, bestie.TAUβTAU is REAL array, dimension (min(M,N)). These are the scalar factors of the elementary reflectors, as returned bySGEQRFP.WORKβWORK is REAL array, dimension (LWORK).LWORKβLWORK is INTEGER. Itβs the dimension of the arrayWORK.RWORKβRWORK is REAL array, dimension (M).RESULTβRESULT is REAL array, dimension (2). These are the test ratios:RESULT(1) = norm( R - Q'*A ) / ( M * norm(A) * EPS )RESULT(2) = norm( I - Q'*Q ) / ( M * EPS )
This is the part where the function is basically doing a vibe check onQandR. It comparesRwithQ'*A, and checks thatQis orthogonal. Iconic behavior, honestly.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 124 of file sqrt01p.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
xoxo, your LAPACK bestie π
β¨ β LAPACK Version 3.12.0 β /home/abui.../sqrt01p.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