TESTING/LIN/sqrt14.f(3)
π TESTING/LIN/sqrt14.f π
okay bestie, this page is serving Library Functions Manual energy, and it's all about the SQRT14 routine. it's giving βlet me check if X is in the row spaceβ detective vibes π΅οΈββοΈβ¨
β¨ NAME β¨
TESTING/LIN/sqrt14.f
πΈ SYNOPSIS πΈ
π§ Functions/Subroutines π§
real function sqrt14 (trans, m, n, nrhs, a, lda, x, ldx, work, lwork)β theSQRT14function, front and center.
π¦ Function/Subroutine Documentation π¦
here's the full signature, character-for-character, no edits, no cap:
real function sqrt14 (character trans, integer m, integer n, integer nrhs,
real, dimension( lda, * ) a, integer lda, real, dimension( ldx, * ) x,
integer ldx, real, dimension( lwork ) work, integer lwork)
SQRT14 π
π Purpose π
okay so SQRT14 is checking whether X is in the row space of A or A'. it does this by scaling both X and A so their norms are in the range [sqrt(eps), 1/sqrt(eps)], then computing a QR factorization of [A,X] when TRANS = 'T', or an LQ factorization of [A',X]' when TRANS = 'N', and returning the norm of the trailing triangle, scaled by MAX(M,N,NRHS)*eps. slay π
β¨ Parameters β¨
TRANSβTRANS is CHARACTER*1.= 'N': no transpose, check forXin the row space ofA;= 'T': transpose, check forXin the row space ofA'.MβM is INTEGER. the number of rows of the matrixA.NβN is INTEGER. the number of columns of the matrixA.NRHSβNRHS is INTEGER. the number of right hand sides, i.e., the number of columns ofX.AβA is REAL array, dimension (LDA,N). theM-by-NmatrixA.LDAβLDA is INTEGER. the leading dimension of the arrayA.XβX is REAL array, dimension (LDX,NRHS). ifTRANS = 'N', theN-by-NRHSmatrixX; ifTRANS = 'T', theM-by-NRHSmatrixX.LDXβLDX is INTEGER. the leading dimension of the arrayX.WORKβWORK is REAL array dimension (LWORK).LWORKβLWORK is INTEGER. length of workspace array required; ifTRANS = 'N',LWORK >= (M+NRHS)*(N+2); ifTRANS = 'T',LWORK >= (N+NRHS)*(M+2).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition π
Definition at line 114 of file sqrt14.f.
π Author (Doxygen edition) π
Generated automatically by Doxygen for LAPACK from the source code.
π« tiny sign-off: this page comes from LAPACK Version 3.12.0, and its footer tag is TESTING/LIN/sqrt14.f(3). stay iconic, bestie π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms