SRC/DEPRECATED/ctzrqf.f(3)
π NAME
SRC/DEPRECATED/ctzrqf.f β bestie, this is one of those Library Functions Manual pages for a LAPACK routine that has officially retired. It still has lore though, and we're gonna read it together. π
β¨ SYNOPSIS
π¦ Functions/Subroutines
subroutine ctzrqf (m, n, a, lda, tau, info)
CTZRQF β that's the whole name, no notes. π
π Function/Subroutine Documentation
Okay so here's the actual signature, keep it exactly like this:
subroutine ctzrqf (integer m, integer n, complex, dimension( lda, * ) a,
integer lda, complex, dimension( * ) tau, integer info)
πΈ CTZRQF
π Purpose:
β οΈ Heads up bestie: this routine is deprecated and has been replaced by routine CTZRZF. So likeβ¦ use the new one, fr fr. But let's learn the lore anyway.
CTZRQF reduces the M-by-N ( M<=N ) complex upper trapezoidal matrix A to upper triangular form by means of unitary transformations. Slay.
The upper trapezoidal matrix A is factored as
A = ( R 0 ) * Z,
where Z is an N-by-N unitary matrix and R is an M-by-M upper triangular matrix. Iconic decomposition behavior. β¨
π§ Parameters
- M β
MisINTEGER. The number of rows of the matrixA.M >= 0. (Zero rows? Valid. We respect it.) - N β
NisINTEGER. The number of columns of the matrixA.N >= M. (Note the inequality, bestie β it's gotta be at least as wide as it is tall. π ) - A β
AisCOMPLEXarray, dimension(LDA,N).- On entry, the leading M-by-N upper trapezoidal part of the array
Amust contain the matrix to be factorized. - On exit, the leading M-by-M upper triangular part of
Acontains the upper triangular matrixR, and elementsM+1toNof the firstMrows ofA, with the arrayTAU, represent the unitary matrixZas a product ofMelementary reflectors. π«Ά
- On entry, the leading M-by-N upper trapezoidal part of the array
- LDA β
LDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,M). (Thatmax(1,M)is doing SO much work, don't skip it.) - TAU β
TAUisCOMPLEXarray, dimension(M). The scalar factors of the elementary reflectors. π - INFO β
INFOisINTEGER.= 0: successful exit π< 0: ifINFO = -i, the i-th argument had an illegal value π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details:
The factorization is obtained by Householder's method. The kth transformation matrix, Z( k ), whose conjugate transpose is used to introduce zeros into the (m - k + 1)th row of A, is given in the form
Z( k ) = ( I 0 ),
( 0 T( k ) )
where
T( k ) = I - tau*u( k )*u( k )**H, u( k ) = ( 1 ),
( 0 )
( z( k ) )
tau is a scalar and z( k ) is an ( n - m ) element vector. tau and z( k ) are chosen to annihilate the elements of the kth row of X. (Yes, it says X, that's what the source says β not me, not my fault, we do not editorialize. π)
The scalar tau is returned in the kth element of TAU and the vector u( k ) in the kth row of A, such that the elements of z( k ) are in a( k, m + 1 ), ..., a( k, n ). The elements of R are returned in the upper triangular part of A. π
Z is given by
Z = Z( 1 ) * Z( 2 ) * ... * Z( m ).
Definition at line 137 of file ctzrqf.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. (Not a human, just a robot doing its little robot thing. We appreciate the effort. π€πΈ)
And that's the whole page bestie!! πβ¨ This gem comes from LAPACK, Version 3.12.0, and it lives at SRC/DEPRECATED/ctzrqf.f(3) β yes, the folder is literally called DEPRECATED, the routine is telling you something. π«Άπ
π¦ 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