ungr2(3)
π ungr2 vibes β Library Functions Manual
okay so bestie, welcome to the ungr2 page from the Library Functions Manual π
this is the whole thing, no skipped tea, no cap π«Ά
πΈ NAME
ungr2 β {un,or}gr2: step in ungrq β¨
π¦ SYNOPSIS
Functions
subroutine cungr2 (m, n, k, a, lda, tau, work, info)β CUNGR2 generates all or part of the unitary matrix Q from an RQ factorization determined bycgerqf(unblocked algorithm). πsubroutine dorgr2 (m, n, k, a, lda, tau, work, info)β DORGR2 generates all or part of the orthogonal matrix Q from an RQ factorization determined bysgerqf(unblocked algorithm). π¦subroutine sorgr2 (m, n, k, a, lda, tau, work, info)β SORGR2 generates all or part of the orthogonal matrix Q from an RQ factorization determined bysgerqf(unblocked algorithm). πΈsubroutine zungr2 (m, n, k, a, lda, tau, work, info)β ZUNGR2 generates all or part of the unitary matrix Q from an RQ factorization determined bycgerqf(unblocked algorithm). β¨
π Detailed Description
this section is short and sweet in the original: it just hands you over to the function docs below π«Ά
π₯ Function Documentation
four routines, all iconic, no cap π
cungr2 β¨
subroutine cungr2 (integer m, integer n, integer k, complex, dimension( lda, * ) a, integer lda, complex, dimension( * ) tau, complex, dimension( * ) work, integer info)
CUNGR2 generates all or part of the unitary matrix Q from an RQ factorization determined by cgerqf (unblocked algorithm).
Purpose
CUNGR2 generates an m by n complex matrix Q with orthonormal rows, which is defined as the last m rows of a product of k elementary reflectors of order n
Q = H(1)**H H(2)**H . . . H(k)**H
as returned by CGERQF. π
Parameters
MβMisINTEGER; the number of rows of the matrixQ.M >= 0.NβNisINTEGER; the number of columns of the matrixQ.N >= M.KβKisINTEGER; the number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.AβAisCOMPLEXarray, dimension(LDA,N). On entry, the(m-k+i)-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byCGERQFin the lastkrows of its array argumentA. On exit, them-by-nmatrixQ.LDAβLDAisINTEGER; the first dimension of the arrayA.LDA >= max(1,M).TAUβTAUisCOMPLEXarray, dimension(K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byCGERQF.WORKβWORKisCOMPLEXarray, dimension(M).INFOβINFOisINTEGER;= 0: successful exit;< 0: ifINFO = -i, thei-th argument has an illegal value.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition
Definition at line 113 of file cungr2.f.
dorgr2 π¦
subroutine dorgr2 (integer m, integer n, integer k, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( * ) tau, double precision, dimension( * ) work, integer info)
DORGR2 generates all or part of the orthogonal matrix Q from an RQ factorization determined by sgerqf (unblocked algorithm).
Purpose
DORGR2 generates an m by n real matrix Q with orthonormal rows, which is defined as the last m rows of a product of k elementary reflectors of order n
Q = H(1) H(2) . . . H(k)
as returned by DGERQF. π
Parameters
MβMisINTEGER; the number of rows of the matrixQ.M >= 0.NβNisINTEGER; the number of columns of the matrixQ.N >= M.KβKisINTEGER; the number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.AβAisDOUBLE PRECISIONarray, dimension(LDA,N). On entry, the(m-k+i)-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byDGERQFin the lastkrows of its array argumentA. On exit, thembynmatrixQ.LDAβLDAisINTEGER; the first dimension of the arrayA.LDA >= max(1,M).TAUβTAUisDOUBLE PRECISIONarray, dimension(K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDGERQF.WORKβWORKisDOUBLE PRECISIONarray, dimension(M).INFOβINFOisINTEGER;= 0: successful exit;< 0: ifINFO = -i, thei-th argument has an illegal value.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition
Definition at line 113 of file dorgr2.f.
sorgr2 πΈ
subroutine sorgr2 (integer m, integer n, integer k, real, dimension( lda, * ) a, integer lda, real, dimension( * ) tau, real, dimension( * ) work, integer info)
SORGR2 generates all or part of the orthogonal matrix Q from an RQ factorization determined by sgerqf (unblocked algorithm).
Purpose
SORGR2 generates an m by n real matrix Q with orthonormal rows, which is defined as the last m rows of a product of k elementary reflectors of order n
Q = H(1) H(2) . . . H(k)
as returned by SGERQF. π
Parameters
MβMisINTEGER; the number of rows of the matrixQ.M >= 0.NβNisINTEGER; the number of columns of the matrixQ.N >= M.KβKisINTEGER; the number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.AβAisREALarray, dimension(LDA,N). On entry, the(m-k+i)-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned bySGERQFin the lastkrows of its array argumentA. On exit, thembynmatrixQ.LDAβLDAisINTEGER; the first dimension of the arrayA.LDA >= max(1,M).TAUβTAUisREALarray, dimension(K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGERQF.WORKβWORKisREALarray, dimension(M).INFOβINFOisINTEGER;= 0: successful exit;< 0: ifINFO = -i, thei-th argument has an illegal value.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition
Definition at line 113 of file sorgr2.f.
zungr2 π
subroutine zungr2 (integer m, integer n, integer k, complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension( * ) tau, complex*16, dimension( * ) work, integer info)
ZUNGR2 generates all or part of the unitary matrix Q from an RQ factorization determined by cgerqf (unblocked algorithm).
Purpose
ZUNGR2 generates an m by n complex matrix Q with orthonormal rows, which is defined as the last m rows of a product of k elementary reflectors of order n
Q = H(1)**H H(2)**H . . . H(k)**H
as returned by ZGERQF. π
Parameters
MβMisINTEGER; the number of rows of the matrixQ.M >= 0.NβNisINTEGER; the number of columns of the matrixQ.N >= M.KβKisINTEGER; the number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.AβAisCOMPLEX*16array, dimension(LDA,N). On entry, the(m-k+i)-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byZGERQFin the lastkrows of its array argumentA. On exit, them-by-nmatrixQ.LDAβLDAisINTEGER; the first dimension of the arrayA.LDA >= max(1,M).TAUβTAUisCOMPLEX*16array, dimension(K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byZGERQF.WORKβWORKisCOMPLEX*16array, dimension(M).INFOβINFOisINTEGER;= 0: successful exit;< 0: ifINFO = -i, thei-th argument has an illegal value.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition
Definition at line 113 of file zungr2.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
xoxo bestie, from LAPACK Version 3.12.0, page ungr2(3) πβ¨
π¦ 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