SRC/dgelqf.f(3)
okay bestie, welcome to the <pink>SRC/dgelqf.f(3)</pink> page from the Library Functions Manual β yes, we are doing LAPACK linear algebra today and it's gonna be iconic. π«Άβ¨
β¨ NAME β¨
SRC/dgelqf.f β that's the page name, periodt. π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine dgelqf (m, n, a, lda, tau, work, lwork, info)
DGELQF
π₯ Function/Subroutine Documentation π₯
subroutine dgelqf (integer m, integer n, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( * ) tau, double precision, dimension( * ) work, integer lwork, integer info)
DGELQF
πΈ Purpose πΈ
okay so <hotpink>DGELQF</hotpink> computes an LQ factorization of a real M-by-N matrix A, and the glow-up is literally:
A = ( L 0 ) * Q
where:
Qis aN-by-Northogonal matrix;Lis a lower-triangularM-by-Mmatrix;0is aM-by-(N-M) zero matrix, ifM < N.
No cap, that's the whole vibe. π
π Parameters π
MβMis INTEGER. The number of rows of the matrixA.M >= 0. π§NβNis INTEGER. The number of columns of the matrixA.N >= 0. π¦AβAis DOUBLE PRECISION array, dimension(LDA,N). On entry, theM-by-NmatrixA. On exit, the elements on and below the diagonal of the array contain them-by-min(m,n)lower trapezoidal matrixL(Lis lower triangular ifm <= n); the elements above the diagonal, with the arrayTAU, represent the orthogonal matrixQas a product of elementary reflectors (see Further Details). πLDAβLDAis INTEGER. The leading dimension of the arrayA.LDA >= max(1,M). βTAUβTAUis DOUBLE PRECISION array, dimension(min(M,N)). The scalar factors of the elementary reflectors (see Further Details). πWORKβWORKis DOUBLE PRECISION array, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. πLWORKβLWORKis INTEGER. The dimension of the arrayWORK.LWORK >= 1, ifMIN(M,N) = 0, andLWORK >= M, otherwise. For optimum performanceLWORK >= M*NB, whereNBis the optimal blocksize.
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA. π«Ά
INFOβINFOis 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 matrix Q is represented as a product of elementary reflectors
Q = H(k) . . . H(2) H(1), where k = min(m,n).
Each H(i) has the form
H(i) = I - tau * v * v**T
where tau is a real scalar, and v is a real vector with v(1:i-1) = 0 and v(i) = 1; v(i+1:n) is stored on exit in A(i,i+1:n), and tau in TAU(i). β¨
Definition at line 143 of file dgelqf.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
LAPACK Version 3.12.0, page SRC/dgelqf.f(3) β that's the footer tea, bestie. fr fr, 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