ung2r(3)
β¨ ung2r(3) β the Q-glow-up manual β¨
πΈ NAME πΈ
ung2rβ{un,or}g2r: generate explicit Q from geqrf, level 2
π¦ SYNOPSIS π¦
π Functions π
subroutine cung2r (m, n, k, a, lda, tau, work, info)βCUNG2Rsubroutine dorg2r (m, n, k, a, lda, tau, work, info)βDORG2R generates all or part of the orthogonal matrix Q from a QR factorization determined by sgeqrf (unblocked algorithm).subroutine sorg2r (m, n, k, a, lda, tau, work, info)βSORG2R generates all or part of the orthogonal matrix Q from a QR factorization determined by sgeqrf (unblocked algorithm).subroutine zung2r (m, n, k, a, lda, tau, work, info)βZUNG2R
π Detailed Description π
Okay bestie, this is where the actual function docs live. No cap, all four routines are here, and every parameter is getting its moment. π«Ά
π Function Documentation π
subroutine cung2r
subroutine cung2r (integer m, integer n, integer k, complex, dimension( lda, * ) a, integer lda, complex, dimension( * ) tau, complex, dimension( * ) work, integer info)
CUNG2R
Purpose:
CUNG2R generates an m by n complex matrix Q with orthonormal columns, which is defined as the first n columns of a product of k elementary reflectors of order m
Q = H(1) H(2) . . . H(k)
as returned by CGEQRF.
Parameters
MβM is INTEGER. The number of rows of the matrix Q.M >= 0.NβN is INTEGER. The number of columns of the matrix Q.M >= N >= 0.KβK is INTEGER. The number of elementary reflectors whose product defines the matrix Q.N >= K >= 0.AβA is COMPLEX array, dimension (LDA,N). On entry, the i-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byCGEQRFin the first k columns of its array argument A. On exit, the m by n matrix Q.LDAβLDA is INTEGER. The first dimension of the array A.LDA >= max(1,M).TAUβTAU is COMPLEX array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byCGEQRF.WORKβWORK is COMPLEX array, dimension (N).INFOβINFO is INTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument has an illegal value.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 113 of file cung2r.f.
subroutine dorg2r
subroutine dorg2r (integer m, integer n, integer k, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( * ) tau, double precision, dimension( * ) work, integer info)
DORG2R generates all or part of the orthogonal matrix Q from a QR factorization determined by sgeqrf (unblocked algorithm).
Purpose:
DORG2R generates an m by n real matrix Q with orthonormal columns, which is defined as the first n columns of a product of k elementary reflectors of order m
Q = H(1) H(2) . . . H(k)
as returned by DGEQRF.
Parameters
MβM is INTEGER. The number of rows of the matrix Q.M >= 0.NβN is INTEGER. The number of columns of the matrix Q.M >= N >= 0.KβK is INTEGER. The number of elementary reflectors whose product defines the matrix Q.N >= K >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). On entry, the i-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byDGEQRFin the first k columns of its array argument A. On exit, the m-by-n matrix Q.LDAβLDA is INTEGER. The first dimension of the array A.LDA >= max(1,M).TAUβTAU is DOUBLE PRECISION array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDGEQRF.WORKβWORK is DOUBLE PRECISION array, dimension (N).INFOβINFO is INTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument has an illegal value.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 113 of file dorg2r.f.
subroutine sorg2r
subroutine sorg2r (integer m, integer n, integer k, real, dimension( lda, * ) a, integer lda, real, dimension( * ) tau, real, dimension( * ) work, integer info)
SORG2R generates all or part of the orthogonal matrix Q from a QR factorization determined by sgeqrf (unblocked algorithm).
Purpose:
SORG2R generates an m by n real matrix Q with orthonormal columns, which is defined as the first n columns of a product of k elementary reflectors of order m
Q = H(1) H(2) . . . H(k)
as returned by SGEQRF.
Parameters
MβM is INTEGER. The number of rows of the matrix Q.M >= 0.NβN is INTEGER. The number of columns of the matrix Q.M >= N >= 0.KβK is INTEGER. The number of elementary reflectors whose product defines the matrix Q.N >= K >= 0.AβA is REAL array, dimension (LDA,N). On entry, the i-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned bySGEQRFin the first k columns of its array argument A. On exit, the m-by-n matrix Q.LDAβLDA is INTEGER. The first dimension of the array A.LDA >= max(1,M).TAUβTAU is REAL array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGEQRF.WORKβWORK is REAL array, dimension (N).INFOβINFO is INTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument has an illegal value.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 113 of file sorg2r.f.
subroutine zung2r
subroutine zung2r (integer m, integer n, integer k, complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension( * ) tau, complex*16, dimension( * ) work, integer info)
ZUNG2R
Purpose:
ZUNG2R generates an m by n complex matrix Q with orthonormal columns, which is defined as the first n columns of a product of k elementary reflectors of order m
Q = H(1) H(2) . . . H(k)
as returned by ZGEQRF.
Parameters
MβM is INTEGER. The number of rows of the matrix Q.M >= 0.NβN is INTEGER. The number of columns of the matrix Q.M >= N >= 0.KβK is INTEGER. The number of elementary reflectors whose product defines the matrix Q.N >= K >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). On entry, the i-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byZGEQRFin the first k columns of its array argument A. On exit, the m by n matrix Q.LDAβLDA is INTEGER. The first dimension of the array A.LDA >= max(1,M).TAUβTAU is COMPLEX*16 array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byZGEQRF.WORKβWORK is COMPLEX*16 array, dimension (N).INFOβINFO is INTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument has an illegal value.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 113 of file zung2r.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π«Άβ¨ Thatβs the whole glow-up! This page is from LAPACK Version 3.12.0 and itβs the ung2r(3) manual, bestie β slay. ππ
π¦ 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