/home/abui...RC/zgeqr.f(3)
okay so bestie, welcome to the Library Functions Manual page for /home/abui...RC/zgeqr.f(3) โ this is the ZGEQR glow-up and itโs giving linear algebra main character energy ๐
โจ
๐ธ NAME ๐ธ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zgeqr.f
โจ SYNOPSIS โจ
๐ Functions/Subroutines ๐
subroutine ZGEQR (m, n, a, lda, t, tsize, work, lwork, info)
ZGEQR
๐ Function/Subroutine Documentation ๐
๐ subroutine ZGEQR ๐
subroutine ZGEQR (integer m, integer n, complex*16, dimension( lda, * ) a,
integer lda, complex*16, dimension( * ) t, integer tsize, complex*16,
dimension( * ) work, integer lwork, integer info)
ZGEQR
๐ฏ Purpose ๐ฏ
ZGEQR computes a QR factorization of a complex M-by-N matrix A:
A = Q * ( R ),
( 0 )
where:
Qis aM-by-Morthogonal matrix;Ris an upper-triangularN-by-Nmatrix;0is a(M-N)-by-Nzero matrix, ifM > N.
๐งฎ Parameters ๐งฎ
MโM is INTEGER. The number of rows of the matrixA.M >= 0.NโN is INTEGER. The number of columns of the matrixA.N >= 0.AโA is COMPLEX*16 array, dimension (LDA,N). On entry, 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 used to store part of the data structure to representQ.LDAโLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).TโT is COMPLEX*16 array, dimension (MAX(5,TSIZE)). On exit, ifINFO = 0,T(1)returns optimal (or either minimal or optimal, if query is assumed)TSIZE. SeeTSIZEfor details. RemainingTcontains part of the data structure used to representQ. If one wants to apply or constructQ, then one needs to keepT(in addition toA) and pass it to further subroutines.TSIZEโTSIZE is INTEGER. IfTSIZE >= 5, the dimension of the arrayT. IfTSIZE = -1or-2, then a workspace query is assumed. The routine only calculates the sizes of theTandWORKarrays, returns these values as the first entries of theTandWORKarrays, and no error message related toTorWORKis issued byXERBLA. IfTSIZE = -1, the routine calculates optimal size ofTfor the optimum performance and returns this value inT(1). IfTSIZE = -2, the routine calculates minimal size ofTand returns this value inT(1).WORKโ(workspace) COMPLEX*16 array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)contains optimal (or either minimal or optimal, if query was assumed)LWORK. SeeLWORKfor details.LWORKโLWORK is INTEGER. The dimension of the arrayWORK. IfLWORK = -1or-2, then a workspace query is assumed. The routine only calculates the sizes of theTandWORKarrays, returns these values as the first entries of theTandWORKarrays, and no error message related toTorWORKis issued byXERBLA. IfLWORK = -1, the routine calculates optimal size ofWORKfor the optimal performance and returns this value inWORK(1). IfLWORK = -2, the routine calculates minimal size ofWORKand returns this value inWORK(1).INFOโINFO is INTEGER= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ Further Details ๐
The goal of the interface is to give maximum freedom to the developers for creating any QR factorization algorithm they wish. The triangular (trapezoidal) R has to be stored in the upper part of A. The lower part of A and the array T can be used to store any relevant information for applying or constructing the Q factor. The WORK array can safely be discarded after exit.
Caution: One should not expect the sizes ofTandWORKto be the same from one LAPACK implementation to the other, or even from one execution to the other. A workspace query (forTandWORK) is needed at each execution. However, for a given execution, the size ofTandWORKare fixed and will not change from one query to the next.
๐ Further Details particular to this LAPACK implementation: ๐
These details are particular for this LAPACK implementation. Users should not take them for granted. These details may change in the future, and are not likely true for another LAPACK implementation. These details are relevant if one wants to try to understand the code. They are not part of the interface.
In this version,
T(2): row block size (MB)
T(3): column block size (NB)
T(6:TSIZE): data structure needed for Q, computed by
ZLATSQR or ZGEQRT
Depending on the matrix dimensions M and N, and row and column block sizes MB and NB returned by ILAENV, ZGEQR will use either ZLATSQR (if the matrix is tall-and-skinny) or ZGEQRT to compute the QR factorization.
Definition at line 174 of file zgeqr.f.
๐ค Author ๐ค
Generated automatically by Doxygen for LAPACK from the source code.
okay thatโs the whole page bestie โ footer vibes: LAPACK Version 3.12.0, page at /home/abui...RC/zgeqr.f(3). byeee ๐
โจ
๐ฆ 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