SRC/sormrz.f(3)
β¨ NAME β¨
okay bestie, welcome to the SRC/sormrz.f man page from the LAPACK Library Functions Manual. this is the glow-up guide to SORMRZ, and we're gonna get into it. π
β¨ SYNOPSIS β¨
β¨ Functions/Subroutines β¨
Functions/Subroutines
subroutine sormrz (side, trans, m, n, k, l, a, lda, tau, c, ldc, work,
lwork, info)
SORMRZ
and the star of the show: SORMRZ π
β¨ Function/Subroutine Documentation β¨
subroutine sormrz (character side, character trans, integer m, integer n,
integer k, integer l, real, dimension( lda, * ) a, integer lda, real,
dimension( * ) tau, real, dimension( ldc, * ) c, integer ldc, real,
dimension( * ) work, integer lwork, integer info)
SORMRZ
β¨ Purpose: β¨
!>
!> SORMRZ overwrites the general real M-by-N matrix C with
!>
!> SIDE = 'L' SIDE = 'R'
!> TRANS = 'N': Q * C C * Q
!> TRANS = 'T': Q**T * C C * Q**T
!>
!> where Q is a real orthogonal matrix defined as the product of k
!> elementary reflectors
!>
!> Q = H(1) H(2) . . . H(k)
!>
!> as returned by STZRZF. Q is of order M if SIDE = 'L' and of order N
!> if SIDE = 'R'.
!>
β¨ Parameters β¨
SIDEβ it's aCHARACTER*1, bestie.= 'L': apply Q or QT from the Left;= 'R': apply Q or QT from the Right. πTRANSβ anotherCHARACTER*1.= 'N': No transpose, apply Q;= 'T': Transpose, apply Q**T. so iconic. β¨MβINTEGER. the number of rows of the matrixC.M >= 0. no cap. π₯NβINTEGER. the number of columns of the matrixC.N >= 0. periodt. πKβINTEGER. the number of elementary reflectors whose product defines the matrix Q. ifSIDE = 'L',M >= K >= 0; ifSIDE = 'R',N >= K >= 0. π«ΆLβINTEGER. the number of columns of the matrixAcontaining the meaningful part of the Householder reflectors. ifSIDE = 'L',M >= L >= 0, ifSIDE = 'R',N >= L >= 0. πAβREAL array, dimension(LDA,M)ifSIDE = 'L', or(LDA,N)ifSIDE = 'R'. the i-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned bySTZRZFin the lastkrows of its array argumentA.Ais modified by the routine but restored on exit. ngl, that's a lot but we love it. πΈLDAβINTEGER. the leading dimension of the arrayA.LDA >= max(1,K). slay. πTAUβREAL array, dimension(K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySTZRZF. πCβREAL array, dimension(LDC,N). on entry, the M-by-N matrixC. on exit,Cis overwritten byQ*CorQ**H*CorC*Q**HorC*Q. wait,Q**H? that's conjugate transpose energy. πLDCβINTEGER. the leading dimension of the arrayC.LDC >= max(1,M). periodt. β¨WORKβREAL array, dimension(MAX(1,LWORK)). on exit, ifINFO = 0,WORK(1)returns the optimalLWORK. πLWORKβINTEGER. the dimension of the arrayWORK. ifSIDE = 'L',LWORK >= max(1,N); ifSIDE = 'R',LWORK >= max(1,M). for good performance,LWORKshould generally be larger. ifLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA. lowkey important. π¦
bestie, if you set LWORK = -1, it's a workspace query, so don't freak out if it only calculates the optimal size. π
INFOβINTEGER.= 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.
β¨ Contributors: β¨
A. Petitet, Computer Science Dept., Univ. of Tenn., Knoxville, USA
β¨ Further Details: β¨
bestie, there's literally nothing here. it's giving empty. π
Definition at line 185 of file sormrz.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
shoutout to LAPACK Version 3.12.0 and SRC/sormrz.f(3) for making this possible. periodt. β¨
π¦ 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