launhr_col_getrfnp(3)
π launhr_col_getrfnp β LU factor without pivoting π
okay bestie so this is part of the LAPACK gang, and the manual page is literally called launhr_col_getrfnp(3). It's giving "niche but iconic" β a whole family of la{un,or}hr_col_getrfnp routines that do LU factor without pivoting. Let's get into it π
β¨ NAME β¨
launhr_col_getrfnp β la{un,or}hr_col_getrfnp: LU factor without pivoting
fr fr that's the whole name section. Short, sweet, ate.
π¦ SYNOPSIS π¦
Functions
subroutine claunhr_col_getrfnp (m, n, a, lda, d, info)β theCLAUNHR_COL_GETRFNPone πsubroutine dlaorhr_col_getrfnp (m, n, a, lda, d, info)β theDLAORHR_COL_GETRFNPone πsubroutine slaorhr_col_getrfnp (m, n, a, lda, d, info)β theSLAORHR_COL_GETRFNPone πsubroutine zlaunhr_col_getrfnp (m, n, a, lda, d, info)β theZLAUNHR_COL_GETRFNPone π
πΈ Detailed Description πΈ
like, the fine print. keep reading, we get to the actual functions below π
π Function Documentation π
π subroutine claunhr_col_getrfnp (integer m, integer n, complex, dimension( lda, * ) a, integer lda, complex, dimension( * ) d, integer info)
CLAUNHR_COL_GETRFNP
Purpose:
okay so CLAUNHR_COL_GETRFNP computes the modified LU factorization without pivoting of a complex general M-by-N matrix A. The factorization has the form:
A - S = L * U,
where, and I'm quoting the vibe here:
- S is a m-by-n diagonal sign matrix with the diagonal D, so that
D(i) = S(i,i),1 <= i <= min(M,N). The diagonal D is constructed asD(i)=-SIGN(A(i,i)), whereA(i,i)is the value after performingi-1steps of Gaussian elimination. This means that the diagonal element at each step of Gaussian elimination is at least one in absolute value β so division-by-zero is not possible during the division by the diagonal element π«Ά - L is a M-by-N lower triangular matrix with unit diagonal elements (lower trapezoidal if
M > N) - and U is a M-by-N upper triangular matrix (upper trapezoidal if
M < N)
This routine is an auxiliary routine used in the Householder reconstruction routine CUNHR_COL. In CUNHR_COL, this routine is applied to an M-by-N matrix A with orthonormal columns, where each element is bounded by one in absolute value. With the choice of the matrix S above, one can show that the diagonal element at each step of Gaussian elimination is the largest (in absolute value) in the column on or below the diagonal, so that no pivoting is required for numerical stability [1]. no cap π
For more details on the Householder reconstruction algorithm, including the modified LU factorization, see [1].
This is the blocked right-looking version of the algorithm, calling Level 3 BLAS to update the submatrix. To factorize a block, this routine calls the recursive routine CLAUNHR_COL_GETRFNP2. recursion girlies rise π
[1] G. Ballard, J. Demmel, L. Grigori, M. Jacquelin, H.D. Nguyen, E. Solomonik, J. Parallel Distrib. Comput., vol. 85, pp. 3-31, 2015.
Parameters
- M β M is INTEGER. The number of rows of the matrix A.
M >= 0. - N β N is INTEGER. The number of columns of the matrix A.
N >= 0. - A β A is COMPLEX array, dimension
(LDA,N). On entry, the M-by-N matrix to be factored. On exit, the factors L and U from the factorizationA-S=L*U; the unit diagonal elements of L are not stored. - LDA β LDA is INTEGER. The leading dimension of the array A.
LDA >= max(1,M). - D β D is COMPLEX array, dimension
min(M,N). The diagonal elements of the diagonal M-by-N sign matrix S,D(i) = S(i,i), where1 <= i <= min(M,N). The elements can be only( +1.0, 0.0 )or(-1.0, 0.0 ). - INFO β INFO is 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:
November 2019, Igor Kozachenko, Computer Science Division, University of California, Berkeley
Definition at line 145 of file claunhr_col_getrfnp.f.
π subroutine dlaorhr_col_getrfnp (integer m, integer n, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( * ) d, integer info)
DLAORHR_COL_GETRFNP
Purpose:
DLAORHR_COL_GETRFNP computes the modified LU factorization without pivoting of a real general M-by-N matrix A. The factorization has the form:
A - S = L * U,
where:
- S is a m-by-n diagonal sign matrix with the diagonal D, so that
D(i) = S(i,i),1 <= i <= min(M,N). The diagonal D is constructed asD(i)=-SIGN(A(i,i)), whereA(i,i)is the value after performingi-1steps of Gaussian elimination. This means that the diagonal element at each step of Gaussian elimination is at least one in absolute value β so division-by-zero is not possible during the division by the diagonal element π«Ά - L is a M-by-N lower triangular matrix with unit diagonal elements (lower trapezoidal if
M > N) - and U is a M-by-N upper triangular matrix (upper trapezoidal if
M < N)
This routine is an auxiliary routine used in the Householder reconstruction routine DORHR_COL. In DORHR_COL, this routine is applied to an M-by-N matrix A with orthonormal columns, where each element is bounded by one in absolute value. With the choice of the matrix S above, one can show that the diagonal element at each step of Gaussian elimination is the largest (in absolute value) in the column on or below the diagonal, so that no pivoting is required for numerical stability [1].
For more details on the Householder reconstruction algorithm, including the modified LU factorization, see [1].
This is the blocked right-looking version of the algorithm, calling Level 3 BLAS to update the submatrix. To factorize a block, this routine calls the recursive routine DLAORHR_COL_GETRFNP2. π
[1] G. Ballard, J. Demmel, L. Grigori, M. Jacquelin, H.D. Nguyen, E. Solomonik, J. Parallel Distrib. Comput., vol. 85, pp. 3-31, 2015.
Parameters
- M β M is INTEGER. The number of rows of the matrix A.
M >= 0. - N β N is INTEGER. The number of columns of the matrix A.
N >= 0. - A β A is DOUBLE PRECISION array, dimension
(LDA,N). On entry, the M-by-N matrix to be factored. On exit, the factors L and U from the factorizationA-S=L*U; the unit diagonal elements of L are not stored. - LDA β LDA is INTEGER. The leading dimension of the array A.
LDA >= max(1,M). - D β D is DOUBLE PRECISION array, dimension
min(M,N). The diagonal elements of the diagonal M-by-N sign matrix S,D(i) = S(i,i), where1 <= i <= min(M,N). The elements can be only plus or minus one. - INFO β INFO is 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:
November 2019, Igor Kozachenko, Computer Science Division, University of California, Berkeley
Definition at line 145 of file dlaorhr_col_getrfnp.f.
π subroutine slaorhr_col_getrfnp (integer m, integer n, real, dimension( lda, * ) a, integer lda, real, dimension( * ) d, integer info)
SLAORHR_COL_GETRFNP
Purpose:
SLAORHR_COL_GETRFNP computes the modified LU factorization without pivoting of a real general M-by-N matrix A. The factorization has the form:
A - S = L * U,
where:
- S is a m-by-n diagonal sign matrix with the diagonal D, so that
D(i) = S(i,i),1 <= i <= min(M,N). The diagonal D is constructed asD(i)=-SIGN(A(i,i)), whereA(i,i)is the value after performingi-1steps of Gaussian elimination. This means that the diagonal element at each step of Gaussian elimination is at least one in absolute value β so division-by-zero is not possible during the division by the diagonal element π«Ά - L is a M-by-N lower triangular matrix with unit diagonal elements (lower trapezoidal if
M > N) - and U is a M-by-N upper triangular matrix (upper trapezoidal if
M < N)
This routine is an auxiliary routine used in the Householder reconstruction routine SORHR_COL. In SORHR_COL, this routine is applied to an M-by-N matrix A with orthonormal columns, where each element is bounded by one in absolute value. With the choice of the matrix S above, one can show that the diagonal element at each step of Gaussian elimination is the largest (in absolute value) in the column on or below the diagonal, so that no pivoting is required for numerical stability [1].
For more details on the Householder reconstruction algorithm, including the modified LU factorization, see [1].
This is the blocked right-looking version of the algorithm, calling Level 3 BLAS to update the submatrix. To factorize a block, this routine calls the recursive routine SLAORHR_COL_GETRFNP2. π§
[1] G. Ballard, J. Demmel, L. Grigori, M. Jacquelin, H.D. Nguyen, E. Solomonik, J. Parallel Distrib. Comput., vol. 85, pp. 3-31, 2015.
Parameters
- M β M is INTEGER. The number of rows of the matrix A.
M >= 0. - N β N is INTEGER. The number of columns of the matrix A.
N >= 0. - A β
so like, picking right back up with A π
β on entry it's the M-by-N matrix to be factored, and on exit you're left with the factors L and U from the factorization A-S=L*U. The unit diagonal elements of L? Not stored. We simply don't keep them, bestie. π«Ά
LDAβLDA is INTEGER. It's the leading dimension of the arrayA, and the vibe check it must pass isLDA >= max(1,M).DβD is REAL array, dimension min(M,N). These are the diagonal elements of that diagonal M-by-N sign matrixS, meaningD(i) = S(i,i), where1 <= i <= min(M,N). The elements can be only plus or minus one β that's it, that's the whole menu. β¨INFOβINFO is INTEGER, and it's the little status report at the end:= 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:
November 2019, Igor Kozachenko,
Computer Science Division,
University of California, Berkeley
Definition at line 145 of file slaorhr_col_getrfnp.f β iconic, honestly.
π subroutine zlaunhr_col_getrfnp β same energy, but make it complex*16
subroutine zlaunhr_col_getrfnp (integer m, integer n, complex*16, dimension(
lda, * ) a, integer lda, complex*16, dimension( * ) d, integer info)
ZLAUNHR_COL_GETRFNP β the complex twin, and it ate. π
β¨ Purpose:
ZLAUNHR_COL_GETRFNP computes the modified LU factorization without pivoting of a complex general M-by-N matrix A. The factorization has the form:
A - S = L * U,
where, okay, let me break it down for you:
Sis a m-by-n diagonal sign matrix with the diagonalD, so thatD(i) = S(i,i),1 <= i <= min(M,N). The diagonalDis constructed asD(i)=-SIGN(A(i,i)), whereA(i,i)is the value after performingi-1steps of Gaussian elimination. What that means: the diagonal element at each step of Gaussian elimination is at least one in absolute value β so division-by-zero is literally not possible during the division by the diagonal element. slay. πLis a M-by-N lower triangular matrix with unit diagonal elements (lower trapezoidal ifM > N);- and
Uis a M-by-N upper triangular matrix (upper trapezoidal ifM < N).
This routine is an auxiliary routine used in the Householder reconstruction routine ZUNHR_COL. In ZUNHR_COL, this routine is applied to an M-by-N matrix A with orthonormal columns, where each element is bounded by one in absolute value. With the choice of the matrix S above, one can show that the diagonal element at each step of Gaussian elimination is the largest (in absolute value) in the column on or below the diagonal, so that no pivoting is required for numerical stability [1]. no cap, that's the whole flex. π₯
For more details on the Householder reconstruction algorithm, including the modified LU factorization, see [1].
This is the blocked right-looking version of the algorithm, calling Level 3 BLAS to update the submatrix. To factorize a block, this routine calls the recursive routine ZLAUNHR_COL_GETRFNP2. recursion staying booked and busy π§
[1] ,
G. Ballard, J. Demmel, L. Grigori, M. Jacquelin, H.D. Nguyen,
E. Solomonik, J. Parallel Distrib. Comput.,
vol. 85, pp. 3-31, 2015.
πΈ Parameters
MβM is INTEGER, the number of rows of the matrixA. Constraint:M >= 0.NβN is INTEGER, the number of columns of the matrixA. Constraint:N >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). On entry, the M-by-N matrix to be factored. On exit, the factorsLandUfrom the factorizationA-S=L*U; the unit diagonal elements ofLare not stored. (Again. Still not stored. Never stored. π )LDAβLDA is INTEGER, the leading dimension of the arrayA. Constraint:LDA >= max(1,M).DβD is COMPLEX*16 array, dimension min(M,N). These are the diagonal elements of the diagonal M-by-N sign matrixS, soD(i) = S(i,i), where1 <= i <= min(M,N). The elements can be only( +1.0, 0.0 )or(-1.0, 0.0 )β complex edition, but still just a sign, bestie. βINFOβINFO is 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:
November 2019, Igor Kozachenko,
Computer Science Division,
University of California, Berkeley
Definition at line 145 of file zlaunhr_col_getrfnp.f β same line number, different file, we love a consistency moment.
π Author
This whole page was generated automatically by Doxygen for LAPACK from the source code. No human hands, just vibes and a doc generator doing its thing. π€β¨
and that's the page, bestie β everything came straight out of LAPACK, Version 3.12.0, and the footer reads launhr_col_getrfnp(3). go forth and factor responsibly π«Άππ
π¦ 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