SRC/zstein.f(3)
π NAME π
SRC/zstein.f is the icon weβre talking about, straight out of the Library Functions Manual. Bestie, this is the ZSTEIN subroutine page, and itβs giving βlinear algebra but make it understandable.β
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine zstein (n, d, e, m, w, iblock, isplit, z, ldz, work, iwork, ifail, info)
ZSTEIN. Thatβs her. Thatβs the subroutine.
π¦ Function/Subroutine Documentation π¦
subroutine zstein (integer n, double precision, dimension( * ) d, double precision, dimension( * ) e, integer m, double precision, dimension( * ) w, integer, dimension( * ) iblock, integer, dimension( * ) isplit, complex*16, dimension( ldz, * ) z, integer ldz, double precision, dimension( * ) work, integer, dimension( * ) iwork, integer, dimension( * ) ifail, integer info)
ZSTEIN
π Purpose π
okay so ZSTEIN computes the eigenvectors of a real symmetric tridiagonal matrix T corresponding to specified eigenvalues, and it does this using inverse iteration. slay.
The maximum number of iterations allowed for each eigenvector is specified by an internal parameter MAXITS (currently set to 5). five. iconic. no cap.
Although the eigenvectors are real, they are stored in a complex array, which may be passed to ZUNMTR or ZUPMTR for back transformation to the eigenvectors of a complex Hermitian matrix which was reduced to tridiagonal form. iykyk.
π Parameters π
NβINTEGER. The order of the matrix.N >= 0.DβDOUBLE PRECISION array, dimension (N). Thendiagonal elements of the tridiagonal matrixT.EβDOUBLE PRECISION array, dimension (N-1). The(n-1)subdiagonal elements of the tridiagonal matrixT, stored in elements1toN-1.MβINTEGER. The number of eigenvectors to be found.0 <= M <= N.WβDOUBLE PRECISION array, dimension (N). The firstMelements ofWcontain the eigenvalues for which eigenvectors are to be computed. The eigenvalues should be grouped by split-off block and ordered from smallest to largest within the block.( The output array W from DSTEBZ with ORDER = 'B' is expected here. )IBLOCKβINTEGER array, dimension (N). The submatrix indices associated with the corresponding eigenvalues inW;IBLOCK(i)=1if eigenvalueW(i)belongs to the first submatrix from the top,=2ifW(i)belongs to the second submatrix, etc.( The output array IBLOCK from DSTEBZ is expected here. )ISPLITβINTEGER array, dimension (N). The splitting points, at whichTbreaks up into submatrices. The first submatrix consists of rows/columns1toISPLIT( 1 ), the second of rows/columnsISPLIT( 1 )+1throughISPLIT( 2 ), etc.( The output array ISPLIT from DSTEBZ is expected here. )ZβCOMPLEX*16 array, dimension (LDZ, M). The computed eigenvectors. The eigenvector associated with the eigenvalueW(i)is stored in thei-th column ofZ. Any vector which fails to converge is set to its current iterate afterMAXITSiterations. The imaginary parts of the eigenvectors are set to zero.LDZβINTEGER. The leading dimension of the arrayZ.LDZ >= max(1,N).WORKβDOUBLE PRECISION array, dimension (5*N).IWORKβINTEGER array, dimension (N).IFAILβINTEGER array, dimension (M). On normal exit, all elements ofIFAILare zero. If one or more eigenvectors fail to converge afterMAXITSiterations, then their indices are stored in arrayIFAIL.INFOβINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: ifINFO = i, thenieigenvectors failed to converge inMAXITSiterations. Their indices are stored in arrayIFAIL.
π§ Internal Parameters π§
MAXITSβINTEGER, default = 5. The maximum number of iterations performed.EXTRAβINTEGER, default = 2. The number of iterations performed after norm growth criterion is satisfied, should be at least1.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 180 of file zstein.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie! this page is living in LAPACK Version 3.12.0, page tag SRC/zstein.f(3) π
β¨
π¦ 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