DLAORHR_COL_GETRFNP2(3)
π DLAORHR_COL_GETRFNP2(3) π
okay so bestie, we're in the Library Functions Manual, and the header path is clipped to /home/abui..._getrfnp2.f(3). This whole page is literally about DLAORHR_COL_GETRFNP2(3) β buckle up. β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlaorhr_col_getrfnp2.f
π«Ά SYNOPSIS π«Ά
β¨ Functions/Subroutines β¨
recursive subroutine DLAORHR_COL_GETRFNP2 (m, n, a, lda, d, info)
DLAORHR_COL_GETRFNP2
π§ Function/Subroutine Documentation π§
recursive subroutine DLAORHR_COL_GETRFNP2 (integer m, integer n, double
precision, dimension( lda, * ) a, integer lda, double precision,
dimension( * ) d, integer info)
DLAORHR_COL_GETRFNP2
π― Purpose π―
okay so DLAORHR_COL_GETRFNP2 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:
Sis am-by-ndiagonal 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. This means that the diagonal element at each step of Gaussian elimination is at least one in absolute value (so that division-by-zero is not possible during the division by the diagonal element).Lis aM-by-Nlower triangular matrix with unit diagonal elements (lower trapezoidal ifM > N).Uis aM-by-Nupper triangular matrix (upper trapezoidal ifM < 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 recursive version of the LU factorization algorithm. Denote A - S by B. The algorithm divides the matrix B into four submatrices:
[ B11 | B12 ] where B11 is n1 by n1,
B = [ -----|----- ] B21 is (m-n1) by n1,
[ B21 | B22 ] B12 is n1 by n2,
B22 is (m-n1) by n2,
with n1 = min(m,n)/2, n2 = n-n1.
The subroutine calls itself to factor B11, solves for B21, solves for B12, updates B22, then calls itself to factor B22.
For more details on the recursive LU algorithm, see [2].
DLAORHR_COL_GETRFNP2 is called to factorize a block by the blocked routine DLAORHR_COL_GETRFNP, which uses blocked code calling Level 3 BLAS to update the submatrix. However, DLAORHR_COL_GETRFNP2 is self-sufficient and can be used without DLAORHR_COL_GETRFNP.
[1] , G. Ballard, J. Demmel, L. Grigori, M. Jacquelin, H.D. Nguyen, E. Solomonik, J. Parallel Distrib. Comput., vol. 85, pp. 3-31, 2015.[2] , F. Gustavson, IBM J. of Res. and Dev., vol. 41, no. 6, pp. 737-755, 1997.
π Parameters π
MβM is INTEGER; it's the number of rows of the matrixA.M >= 0.NβN is INTEGER; it's the number of columns of the matrixA.N >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). On entry, it's theM-by-Nmatrix to be factored. On exit, it holds the factorsLandUfrom the factorizationA-S=L*U; the unit diagonal elements ofLare not stored.LDAβLDA is INTEGER; it's the leading dimension of the arrayA.LDA >= max(1,M).DβD is DOUBLE PRECISION array, dimension min(M,N). These are the diagonal elements of the diagonalM-by-Nsign matrixS,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, thei-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 π
Definition at line 166 of file dlaorhr_col_getrfnp2.f.
π Author β autogenerated tea π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β footer tea: LAPACK Version 3.12.0, and the path is /home/abui..._getrfnp2.f(3). bye bestie π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms