ZLAHILB(3)
okay so bestie, welcome to zlahilb.f(3) from the Library Functions Manual β page path up top is /home/abui...N/zlahilb.f(3) π
β¨. This is the LAPACK zone, and it's giving very specific numerical icon energy.
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/zlahilb.f
π¦ SYNOPSIS π¦
β¨ Functions/Subroutines β¨
Functions/Subroutines
subroutine ZLAHILB (n, nrhs, a, lda, x, ldx, b, ldb, work, info, path)
ZLAHILB
π§ Function/Subroutine Documentation π§
subroutine ZLAHILB (integer n, integer nrhs, complex*16, dimension(lda,n) a,
integer lda, complex*16, dimension(ldx, nrhs) x, integer ldx,
complex*16, dimension(ldb, nrhs) b, integer ldb, double precision,
dimension(n) work, integer info, character*3 path)
ZLAHILB
π Purpose π
okay so what does it actually do? ZLAHILB generates an N by N scaled Hilbert matrix in A, plus NRHS right-hand sides in B and solutions in X such that A*X=B π«Ά.
The Hilbert matrix is scaled by M = LCM(1, 2, ..., 2*N-1) so that all entries are integers β slay for exactness. The right-hand sides are the first NRHS columns of M times the identity matrix, and the solutions are the first NRHS columns of the inverse Hilbert matrix. β¨
The condition number of the Hilbert matrix grows exponentially with its size, roughly as O(e ** (3.5*N)) π. Also, inverse Hilbert matrices beyond a relatively small dimension cannot be generated exactly without extra precision. Precision is exhausted when the largest entry in the inverse Hilbert matrix is greater than 2 to the power of the number of bits in the fraction of the data type used plus one, which is 24 for single precision.
In single, the generated solution is exact for N <= 6 and has small componentwise error for 7 <= N <= 11 π
.
π Parameters π
NβN is INTEGER; the dimension of the matrixA. πNRHSβNRHS is INTEGER; the requested number of right-hand sides. πAβA is COMPLEX array, dimension (LDA, N); the generated scaled Hilbert matrix. πLDAβLDA is INTEGER; the leading dimension of the arrayA.LDA >= N. βXβX is COMPLEX array, dimension (LDX, NRHS); the generated exact solutions. Currently, the firstNRHScolumns of the inverse Hilbert matrix. π¦LDXβLDX is INTEGER; the leading dimension of the arrayX.LDX >= N. β¨BβB is REAL array, dimension (LDB, NRHS); the generated right-hand sides. Currently, the firstNRHScolumns ofLCM(1, 2, ..., 2*N-1) * the identity matrix. πLDBβLDB is INTEGER; the leading dimension of the arrayB.LDB >= N. πWORKβWORK is REAL array, dimension (N). πINFOβINFO is INTEGER= 0: successful exit β= 1:Nis too large; the data is still generated but may not be not exact π< 0: ifINFO = -i, thei-th argument had an illegal value.
PATHβPATH is CHARACTER*3; the LAPACK path name. π₯
πΈ Author πΈ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition π
Definition at line 132 of file zlahilb.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. β¨
mwah π β source/version check: LAPACK Version 3.12.0, and the footer/page path is /home/abui...N/zlahilb.f(3) π«Άβ¨
π¦ 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