SRC/cgeqrt.f(3)
Hey bestie! Welcome to the Library Functions Manual page for SRC/cgeqrt.f(3) β this is the CGEQRT glow-up, and yes, weβre keeping every single detail. π
NAME β¨
SRC/cgeqrt.f
SYNOPSIS π
Functions/Subroutines π
subroutine cgeqrt (m, n, nb, a, lda, t, ldt, work, info)
CGEQRT
π Function/Subroutine Documentation π
subroutine cgeqrt (integer m, integer n, integer nb, complex, dimension(
lda, * ) a, integer lda, complex, dimension( ldt, * ) t, integer ldt,
complex, dimension( * ) work, integer info)
CGEQRT
Purpose β¨
Okay so CGEQRT computes a blocked QR factorization of a complex M-by-N matrix A using the compact WY representation of Q. Thatβs the main character move, no cap. π
Parameters π
MβM is INTEGER. Itβs the number of rows of the matrixA.M >= 0.NβN is INTEGER. Itβs the number of columns of the matrixA.N >= 0.NBβNB is INTEGER. The block size to be used in the blocked QR.MIN(M,N) >= NB >= 1.AβA is COMPLEX array, dimension (LDA,N). On entry, itβs theM-by-NmatrixA. On exit, the elements on and above the diagonal of the array contain themin(M,N)-by-Nupper trapezoidal matrixR(Ris upper triangular ifM >= N); the elements below the diagonal are the columns ofV.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).TβT is COMPLEX array, dimension (LDT,MIN(M,N)). The upper triangular block reflectors stored in compact form as a sequence of upper triangular blocks. See below for further details.LDTβLDT is INTEGER. The leading dimension of the arrayT.LDT >= NB.WORKβWORK is COMPLEX array, dimension (NB*N).INFOβINFO is INTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value.
Author π
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
Further Details π₯
The matrix V stores the elementary reflectors H(i) in the i-th column below the diagonal. For example, if M=5 and N=3, the matrix V is
V = ( 1 )
( v1 1 )
( v1 v2 1 )
( v1 v2 v3 )
( v1 v2 v3 )
where the vi's represent the vectors which define H(i), which are returned in the matrix A. The 1's along the diagonal of V are not stored in A.
Let K=MIN(M,N). The number of blocks is B = ceiling(K/NB), where each block is of order NB except for the last block, which is of order IB = K - (B-1)*NB. For each of the B blocks, a upper triangular block reflector factor is computed: T1, T2, ..., TB. The NB-by-NB (and IB-by-IB for the last block) T's are stored in the NB-by-K matrix T as
T = (T1 T2 ... TB).
π Definition at line 140 of file cgeqrt.f.
Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π Cute sign-off time, bestie: this page is from LAPACK Version 3.12.0, and the source shown in the footer is SRC/cgeqrt.f(3). Thereβs no separate date in that footer β so this is the whole sign-off. π
π¦ 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