DLASQ2(3)
π DLASQ2 β Library Functions Manual β¨
okay so welcome to the dlasq2.f page in the Library Functions Manual β the page file is /home/abui...RC/dlasq2.f(3). bestie, this is the LAPACK routine that does the eigenvalue thing, and yes itβs giving main-character numerical linear algebra energy. π«Ά
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlasq2.f
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine DLASQ2 (n, z, info)
DLASQ2 computes all the eigenvalues of the symmetric positive definite tridiagonal matrix associated with the qd Array Z to high relative accuracy. Used by sbdsqr and sstegr.
π¦ Function/Subroutine Documentation π¦
subroutine DLASQ2 (integer n, double precision, dimension( * ) z, integer
info)
DLASQ2 computes all the eigenvalues of the symmetric positive definite tridiagonal matrix associated with the qd Array Z to high relative accuracy. Used by sbdsqr and sstegr.
π― Purpose: π―
okay so the purpose is literally this: DLASQ2 computes all the eigenvalues of the symmetric positive definite tridiagonal matrix associated with the qd array Z to high relative accuracy. Those eigenvalues are computed to high relative accuracy in the absence of denormalization, underflow and overflow. π
To see the relation of Z to the tridiagonal matrix, let L be a unit lower bidiagonal matrix with subdiagonals Z(2,4,6,,..) and let U be an upper bidiagonal matrix with 1's above and diagonal Z(1,3,5,,..). The tridiagonal is L*U or, if you prefer, the symmetric tridiagonal to which it is similar. β¨
Note:DLASQ2defines a logical variable,IEEE, which is true on machines which followieee-754floating-point standard in their handling of infinities and NaNs, and false otherwise. This variable is passed toDLASQ3. π«Ά
π Parameters π
NβNis INTEGER. The number of rows and columns in the matrix.N >= 0. πZβZis DOUBLE PRECISION array, dimension ( 4*N ). On entryZholds the qd array. On exit, entries1toNhold the eigenvalues in decreasing order,Z( 2*N+1 )holds the trace, andZ( 2*N+2 )holds the sum of the eigenvalues. IfN > 2, thenZ( 2*N+3 )holds the iteration count,Z( 2*N+4 )holdsNDIVS/NIN^2, andZ( 2*N+5 )holds the percentage of shifts that failed. π¦INFOβINFOis INTEGER. So:= 0: successful exit. slay. β< 0: if the i-th argument is a scalar and had an illegal value, thenINFO = -i; if the i-th argument is an array and the j-entry had an illegal value, thenINFO = -(i*100+j). π> 0: the algorithm failed. π= 1, a split was marked by a positive value inE.= 2, current block ofZnot diagonalized after100*Niterations (in inner while loop). On exitZholds a qd array with the same eigenvalues as the givenZ.= 3, termination criterion of outer while loop not met (program created more thanNunreduced blocks).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π§ Further Details: π§
Local Variables:I0:N0defines a current unreduced segment ofZ. The shifts are accumulated inSIGMA. Iteration count is inITER. Ping-pong is controlled byPP(alternates between0and1). π
π Definition at line 111 of file dlasq2.f. π
Definition at line 111 of file dlasq2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie thatβs the whole page π β kisses from LAPACK, Version 3.12.0, and the page file is /home/abui...RC/dlasq2.f(3). periodt. π
β¨
π¦ 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