larrv(3)
πΈ NAME πΈ
larrv(3) β larrv - larrv: eig tridiagonal, step in stemr & stegr. Welcome to the Library Functions Manual, bestie β this is the larrv(3) page and it's lowkey all about that tridiagonal eigenvector life. π
β¨ SYNOPSIS β¨
π Functions π
subroutine clarrv (n, vl, vu, d, l, pivmin, isplit, m, dol, dou, minrgp,
rtol1, rtol2, w, werr, wgap, iblock, indexw, gers, z, ldz, isuppz,
work, iwork, info)
CLARRV computes the eigenvectors of the tridiagonal matrix T = L D LT given L, D and the eigenvalues of L D LT.
subroutine dlarrv (n, vl, vu, d, l, pivmin, isplit, m, dol, dou, minrgp,
rtol1, rtol2, w, werr, wgap, iblock, indexw, gers, z, ldz, isuppz,
work, iwork, info)
DLARRV computes the eigenvectors of the tridiagonal matrix T = L D LT given L, D and the eigenvalues of L D LT.
subroutine slarrv (n, vl, vu, d, l, pivmin, isplit, m, dol, dou, minrgp,
rtol1, rtol2, w, werr, wgap, iblock, indexw, gers, z, ldz, isuppz,
work, iwork, info)
SLARRV computes the eigenvectors of the tridiagonal matrix T = L D LT given L, D and the eigenvalues of L D LT.
subroutine zlarrv (n, vl, vu, d, l, pivmin, isplit, m, dol, dou, minrgp,
rtol1, rtol2, w, werr, wgap, iblock, indexw, gers, z, ldz, isuppz,
work, iwork, info)
ZLARRV computes the eigenvectors of the tridiagonal matrix T = L D LT given L, D and the eigenvalues of L D LT.
π« Detailed Description π«
Okay so this section is literally just a heading in the source, no extra prose bestie β the real main character energy is in the function docs below. π«Ά
π₯ Function Documentation π₯
π§ subroutine clarrv
subroutine clarrv (integer n, real vl, real vu, real, dimension( * ) d,
real, dimension( * ) l, real pivmin, integer, dimension( * ) isplit,
integer m, integer dol, integer dou, real minrgp, real rtol1, real
rtol2, real, dimension( * ) w, real, dimension( * ) werr, real,
dimension( * ) wgap, integer, dimension( * ) iblock, integer, dimension(
* ) indexw, real, dimension( * ) gers, complex, dimension( ldz, * ) z,
integer ldz, integer, dimension( * ) isuppz, real, dimension( * ) work,
integer, dimension( * ) iwork, integer info)
CLARRV computes the eigenvectors of the tridiagonal matrix T = L D LT given L, D and the eigenvalues of L D LT.
π― Purpose
CLARRV computes the eigenvectors of the tridiagonal matrix T = L D L**T given L, D and APPROXIMATIONS to the eigenvalues of L D L**T. The input eigenvalues should have been computed by SLARRE. No cap, that's the whole vibe of the purpose block. β¨
π§Έ Parameters
NβNisINTEGER. The order of the matrix.N >= 0.VLβVLisREAL. Lower bound of the interval that contains the desired eigenvalues.VL < VU. Needed to compute gaps on the left or right end of the extremal eigenvalues in the desiredRANGE.VUβVUisREAL. Upper bound of the interval that contains the desired eigenvalues.VL < VU. Needed to compute gaps on the left or right end of the extremal eigenvalues in the desiredRANGE.DβDisREAL array, dimension (N). On entry, theNdiagonal elements of the diagonal matrixD. On exit,Dmay be overwritten.LβLisREAL array, dimension (N). On entry, the(N-1)subdiagonal elements of the unit bidiagonal matrixLare in elements1toN-1ofL(if the matrix is not split.) At the end of each block is stored the corresponding shift as given bySLARRE. On exit,Lis overwritten.PIVMINβPIVMINisREAL. The minimum pivot allowed in the Sturm sequence.ISPLITβISPLITisINTEGER array, dimension (N). The splitting points, at whichTbreaks up into blocks. The first block consists of rows/columns1toISPLIT( 1 ), the second of rows/columnsISPLIT( 1 )+1throughISPLIT( 2 ), etc.MβMisINTEGER. The total number of input eigenvalues.0 <= M <= N.DOLβDOLisINTEGER.DOUβDOUisINTEGER. If the user wants to compute only selected eigenvectors from all the eigenvalues supplied, they can specify an index rangeDOL:DOU. Or else the settingDOL=1,DOU=Mshould be applied. Note thatDOLandDOUrefer to the order in which the eigenvalues are stored inW. If the user wants to compute only selected eigenpairs, then the columnsDOL-1toDOU+1of the eigenvector spaceZcontain the computed eigenvectors. All other columns ofZare set to zero.MINRGPβMINRGPisREAL.RTOL1βRTOL1isREAL.RTOL2βRTOL2isREAL. Parameters for bisection. An interval[LEFT,RIGHT]has converged ifRIGHT-LEFT < MAX( RTOL1*GAP, RTOL2*MAX(|LEFT|,|RIGHT|) ).WβWisREAL array, dimension (N). The firstMelements ofWcontain the APPROXIMATE 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 arrayWfromSLARREis expected here ). Furthermore, they are with respect to the shift of the corresponding root representation for their block. On exit,Wholds the eigenvalues of the UNshifted matrix.WERRβWERRisREAL array, dimension (N). The firstMelements contain the semiwidth of the uncertainty interval of the corresponding eigenvalue inW.WGAPβWGAPisREAL array, dimension (N). The separation from the right neighbor eigenvalue inW.IBLOCKβIBLOCKisINTEGER array, dimension (N). The indices of the blocks (submatrices) associated with the corresponding eigenvalues inW;IBLOCK(i)=1if eigenvalueW(i)belongs to the first block from the top,=2ifW(i)belongs to the second block, etc.INDEXWβINDEXWisINTEGER array, dimension (N). The indices of the eigenvalues within each block (submatrix); for example,INDEXW(i)= 10andIBLOCK(i)=2imply that thei-th eigenvalueW(i)is the10-th eigenvalue in the second block.GERSβGERSisREAL array, dimension (2*N). TheNGerschgorin intervals (thei-th Gerschgorin interval is(GERS(2*i-1), GERS(2*i)). The Gerschgorin intervals should be computed from the original UNshifted matrix.ZβZisCOMPLEX array, dimension (LDZ, max(1,M) ). IfINFO = 0, the firstMcolumns ofZcontain the orthonormal eigenvectors of the matrixTcorresponding to the input eigenvalues, with thei-th column ofZholding the eigenvector associated withW(i). Note: the user must ensure that at leastmax(1,M)columns are supplied in the arrayZ.LDZβLDZisINTEGER. The leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).ISUPPZβISUPPZisINTEGER array, dimension ( 2*max(1,M) ). The support of the eigenvectors inZ, i.e., the indices indicating the nonzero elements inZ. TheI-th eigenvector is nonzero only in elementsISUPPZ( 2*I-1 )throughISUPPZ( 2*I ).WORKβWORKisREAL array, dimension (12*N).IWORKβIWORKisINTEGER array, dimension (7*N).INFOβINFOisINTEGER.= 0: successful exit> 0: A problem occurred inCLARRV.< 0: One of the called subroutines signaled an internal problem. Needs inspection of the corresponding parameterIINFOfor further information.=-1: Problem inSLARRBwhen refining a child's eigenvalues.=-2: Problem inSLARRFwhen computing the RRR of a child. When a child is inside a tight cluster, it can be difficult to find an RRR. A partial remedy from the user's point of view is to make the parameterMINRGPsmaller and recompile. However, as the orthogonality of the computed vectors is proportional to1/MINRGP, the user should be aware that they might be trading in precision when they decreaseMINRGP.=-3: Problem inSLARRBwhen refining a single eigenvalue after the Rayleigh correction was rejected.= 5: The Rayleigh Quotient Iteration failed to converge to full accuracy inMAXITRsteps.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Contributors
- Beresford Parlett, University of California, Berkeley, USA
- Jim Demmel, University of California, Berkeley, USA
- Inderjit Dhillon, University of Texas, Austin, USA
- Osni Marques, LBNL/NERSC, USA
- Christof Voemel, University of California, Berkeley, USA
Definition at line 281 of file clarrv.f.
π dlarrv β double precision, double the slay
subroutine dlarrv (integer n, double precision vl, double precision vu,
double precision, dimension( * ) d, double precision, dimension( * ) l,
double precision pivmin, integer, dimension( * ) isplit, integer m,
integer dol, integer dou, double precision minrgp, double precision
rtol1, double precision rtol2, double precision, dimension( * ) w,
double precision, dimension( * ) werr, double precision, dimension( * )
wgap, integer, dimension( * ) iblock, integer, dimension( * ) indexw,
double precision, dimension( * ) gers, double precision, dimension( ldz,
* ) z, integer ldz, integer, dimension( * ) isuppz, double precision,
dimension( * ) work, integer, dimension( * ) iwork, integer info)
okay so DLARRV computes the eigenvectors of the tridiagonal matrix T = L D LT given L, D and the eigenvalues of L D LT. That's the whole assignment, bestie. π
β¨ Purpose β¨
DLARRV computes the eigenvectors of the tridiagonal matrix T = L D L**T given L, D and APPROXIMATIONS to the eigenvalues of L D L**T. The input eigenvalues should have been computed by DLARRE. iykyk β¨
π Parameters π
NβINTEGER. The order of the matrix.N >= 0.VLβDOUBLE PRECISION. Lower bound of the interval that contains the desired eigenvalues.VL < VU. Needed to compute gaps on the left or right end of the extremal eigenvalues in the desired RANGE.VUβDOUBLE PRECISION. Upper bound of the interval that contains the desired eigenvalues.VL < VU. Note:VUis currently not used by this implementation ofDLARRV;VUis passed toDLARRVbecause it could be used to compute gaps on the right end of the extremal eigenvalues. However, with not much initial accuracy inLAMBDAandVU, the formula can lead to an overestimation of the right gap and thus to inadequately early RQI "convergence". This is currently prevented by forcing a small right gap. And so it turns out thatVUis currently not used by this implementation ofDLARRV. not me explaining the whole lore but here we are πDβDOUBLE PRECISION array, dimension (N). On entry, theNdiagonal elements of the diagonal matrixD. On exit,Dmay be overwritten.LβDOUBLE PRECISION array, dimension (N). On entry, the(N-1)subdiagonal elements of the unit bidiagonal matrixLare in elements1toN-1ofL(if the matrix is not split). At the end of each block is stored the corresponding shift as given byDLARRE. On exit,Lis overwritten.PIVMINβDOUBLE PRECISION. The minimum pivot allowed in the Sturm sequence.ISPLITβINTEGER array, dimension (N). The splitting points, at whichTbreaks up into blocks. The first block consists of rows/columns1toISPLIT( 1 ), the second of rows/columnsISPLIT( 1 )+1throughISPLIT( 2 ), etc.MβINTEGER. The total number of input eigenvalues.0 <= M <= N.DOLβINTEGER. That's the whole entry, bestie.DOUβINTEGER. If the user wants to compute only selected eigenvectors from all the eigenvalues supplied, they can specify an index rangeDOL:DOU. Or else the settingDOL=1,DOU=Mshould be applied. Note thatDOLandDOUrefer to the order in which the eigenvalues are stored inW. If the user wants to compute only selected eigenpairs, then the columnsDOL-1toDOU+1of the eigenvector spaceZcontain the computed eigenvectors. All other columns ofZare set to zero.MINRGPβDOUBLE PRECISION. No extra deets here.RTOL1βDOUBLE PRECISION. Also no extra deets here.RTOL2βDOUBLE PRECISION. Parameters for bisection. An interval[LEFT,RIGHT]has converged ifRIGHT-LEFT < MAX( RTOL1*GAP, RTOL2*MAX(|LEFT|,|RIGHT|) ).WβDOUBLE PRECISION array, dimension (N). The firstMelements ofWcontain the APPROXIMATE 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 arrayWfromDLARREis expected here). Furthermore, they are with respect to the shift of the corresponding root representation for their block. On exit,Wholds the eigenvalues of the UNshifted matrix.WERRβDOUBLE PRECISION array, dimension (N). The firstMelements contain the semiwidth of the uncertainty interval of the corresponding eigenvalue inW.WGAPβDOUBLE PRECISION array, dimension (N). The separation from the right neighbor eigenvalue inW.IBLOCKβINTEGER array, dimension (N). The indices of the blocks (submatrices) associated with the corresponding eigenvalues inW;IBLOCK(i)=1if eigenvalueW(i)belongs to the first block from the top,=2ifW(i)belongs to the second block, etc.INDEXWβINTEGER array, dimension (N). The indices of the eigenvalues within each block (submatrix); for example,INDEXW(i)= 10andIBLOCK(i)=2imply that thei-th eigenvalueW(i)is the10-th eigenvalue in the second block.GERSβDOUBLE PRECISION array, dimension (2*N). TheNGerschgorin intervals (thei-th Gerschgorin interval is(GERS(2*i-1), GERS(2*i))). The Gerschgorin intervals should be computed from the original UNshifted matrix.ZβDOUBLE PRECISION array, dimension (LDZ, max(1,M) ). IfINFO = 0, the firstMcolumns ofZcontain the orthonormal eigenvectors of the matrixTcorresponding to the input eigenvalues, with thei-th column ofZholding the eigenvector associated withW(i). Note: the user must ensure that at leastmax(1,M)columns are supplied in the arrayZ.LDZβINTEGER. The leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).ISUPPZβINTEGER array, dimension ( 2*max(1,M) ). The support of the eigenvectors inZ, i.e., the indices indicating the nonzero elements inZ. TheI-th eigenvector is nonzero only in elementsISUPPZ( 2*I-1 )throughISUPPZ( 2*I ).WORKβDOUBLE PRECISION array, dimension (12*N).IWORKβINTEGER array, dimension (7*N).INFOβINTEGER.= 0: successful exit> 0: A problem occurred inDLARRV.< 0: One of the called subroutines signaled an internal problem. Needs inspection of the corresponding parameterIINFOfor further information.=-1: Problem inDLARRBwhen refining a child's eigenvalues.=-2: Problem inDLARRFwhen computing the RRR of a child. When a child is inside a tight cluster, it can be difficult to find an RRR. A partial remedy from the user's point of view is to make the parameterMINRGPsmaller and recompile. However, as the orthogonality of the computed vectors is proportional to1/MINRGP, the user should be aware that they might be trading in precision when they decreaseMINRGP.=-3: Problem inDLARRBwhen refining a single eigenvalue after the Rayleigh correction was rejected.= 5: The Rayleigh Quotient Iteration failed to converge to full accuracy inMAXITRsteps.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Contributors
- Beresford Parlett, University of California, Berkeley, USA
- Jim Demmel, University of California, Berkeley, USA
- Inderjit Dhillon, University of Texas, Austin, USA
- Osni Marques, LBNL/NERSC, USA
- Christof Voemel, University of California, Berkeley, USA
Definition at line 287 of file dlarrv.f.
π¦ slarrv β same energy, REAL parameters
subroutine slarrv (integer n, real vl, real vu, real, dimension( * ) d,
real, dimension( * ) l, real pivmin, integer, dimension( * ) isplit,
integer m, integer dol, integer dou, real minrgp, real rtol1, real
rtol2, real, dimension( * ) w, real, dimension( * ) werr, real,
dimension( * ) wgap, integer, dimension( * ) iblock, integer, dimension(
* ) indexw, real, dimension( * ) gers, real, dimension( ldz, * ) z,
integer ldz, integer, dimension( * ) isuppz, real, dimension( * ) work,
integer, dimension( * ) iwork, integer info)
SLARRV computes the eigenvectors of the tridiagonal matrix T = L D LT given L, D and the eigenvalues of L D LT.
β¨ Purpose β¨
SLARRV computes the eigenvectors of the tridiagonal matrix T = L D L**T given L, D and APPROXIMATIONS to the eigenvalues of L D L**T. The input eigenvalues should have been computed by SLARRE. periodt π
π Parameters π
NβINTEGER. The order of the matrix.N >= 0.VLβREAL. Lower bound of the interval that contains the desired eigenvalues.VL < VU. Needed to compute gaps on the left or right end of the extremal eigenvalues in the desired RANGE.VUVUβ aREAL. Upper bound of the interval that contains the eigenvalues you actually want.VL < VU. π And here's the tea:VUis currently not used by this implementation ofSLARRV. She gets passed toSLARRVanyway because in theory she could be used to compute gaps on the right end of the extremal eigenvalues β but with not much initial accuracy inLAMBDAandVU, that formula can lead to an overestimation of the right gap, which then leads to inadequately early RQI "convergence" π. Right now that's prevented by forcing a small right gap. And so, plot twist, it turns out thatVUis currently not used by this implementation ofSLARRV. Periodt.DβREALarray, dimension(N). On entry, theNdiagonal elements of the diagonal matrixD. On exit,Dmay be overwritten. (she gets a little makeover, nbd)LβREALarray, dimension(N). On entry, the(N-1)subdiagonal elements of the unit bidiagonal matrixLare in elements1toN-1ofL(if the matrix is not split). At the end of each block is stored the corresponding shift as given bySLARRE. On exit,Lis overwritten too πPIVMINβREAL. The minimum pivot allowed in the Sturm sequence.ISPLITβINTEGERarray, dimension(N). The splitting points, at whichTbreaks up into blocks. The first block consists of rows/columns1toISPLIT( 1 ), the second of rows/columnsISPLIT( 1 )+1throughISPLIT( 2 ), etc. Basically the group-chat admin breaking y'all into breakout rooms π«ΆMβINTEGER. The total number of input eigenvalues.0 <= M <= N.DOLβINTEGER. That's it. That's the whole description. Iconic minimalism β¨DOUβINTEGER. If you want to compute only selected eigenvectors out of all the eigenvalues supplied, you can specify an index rangeDOL:DOU. Or else the settingDOL=1,DOU=Mshould be applied. Note thatDOLandDOUrefer to the order in which the eigenvalues are stored inW. And if you want only selected eigenpairs, then the columnsDOL-1toDOU+1of the eigenvector spaceZcontain the computed eigenvectors β all other columns ofZare set to zero. πMINRGPβREAL. No further notes here, bestie. That's what the page gives us. πRTOL1βREAL. Same situation, no extra description in the source.RTOL2βREAL. Parameters for bisection. An interval[LEFT,RIGHT]has converged if
RIGHT-LEFT < MAX( RTOL1*GAP, RTOL2*MAX(|LEFT|,|RIGHT|) )
(that's the whole vibe check for "are we done yet")
WβREALarray, dimension(N). The firstMelements ofWcontain the APPROXIMATE 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 arrayWfromSLARREis expected here). Furthermore, they are with respect to the shift of the corresponding root representation for their block. On exit,Wholds the eigenvalues of the UNshifted matrix. π₯WERRβREALarray, dimension(N). The firstMelements contain the semiwidth of the uncertainty interval of the corresponding eigenvalue inW.WGAPβREALarray, dimension(N). The separation from the right neighbor eigenvalue inW.IBLOCKβINTEGERarray, dimension(N). The indices of the blocks (submatrices) associated with the corresponding eigenvalues inW;IBLOCK(i)=1if eigenvalueW(i)belongs to the first block from the top,=2ifW(i)belongs to the second block, etc. Lowkey a seating chart πͺINDEXWβINTEGERarray, dimension(N). The indices of the eigenvalues within each block (submatrix); for example,INDEXW(i)= 10andIBLOCK(i)=2imply that thei-th eigenvalueW(i)is the10-th eigenvalue in the second block.GERSβREALarray, dimension(2*N). TheNGerschgorin intervals (thei-th Gerschgorin interval is(GERS(2*i-1), GERS(2*i))). The Gerschgorin intervals should be computed from the original UNshifted matrix. πZβREALarray, dimension(LDZ, max(1,M) ). IfINFO = 0, the firstMcolumns ofZcontain the orthonormal eigenvectors of the matrixTcorresponding to the input eigenvalues, with thei-th column ofZholding the eigenvector associated withW(i). Note: you (yes, you, bestie) must ensure that at leastmax(1,M)columns are supplied in the arrayZ. πLDZβINTEGER. The leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).ISUPPZβINTEGERarray, dimension( 2*max(1,M) ). The support of the eigenvectors inZ, i.e., the indices indicating the nonzero elements inZ. TheI-th eigenvector is nonzero only in elementsISUPPZ( 2*I-1 )throughISUPPZ( 2*I ). It's giving "here's exactly where the personality lives" πWORKβREALarray, dimension(12*N).IWORKβINTEGERarray, dimension(7*N).INFOβINTEGER. The receipts:= 0: successful exit π> 0: A problem occurred inSLARRV.< 0: One of the called subroutines signaled an internal problem. Needs inspection of the corresponding parameterIINFOfor further information.=-1: Problem inSLARRBwhen refining a child's eigenvalues.=-2: Problem inSLARRFwhen computing the RRR of a child. When a child is inside a tight cluster, it can be difficult to find an RRR. A partial remedy from the user's point of view is to make the parameterMINRGPsmaller and recompile. However β as the orthogonality of the computed vectors is proportional to1/MINRGP, you should be aware that you might be trading in precision when you decreaseMINRGP. β οΈ=-3: Problem inSLARRBwhen refining a single eigenvalue after the Rayleigh correction was rejected.= 5: The Rayleigh Quotient Iteration failed to converge to full accuracy inMAXITRsteps.
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π«Ά Contributors:
Beresford Parlett, University of California, Berkeley, USA Jim Demmel, University of California, Berkeley, USA Inderjit Dhillon, University of Texas, Austin, USA Osni Marques, LBNL/NERSC, USA Christof Voemel, University of California, Berkeley, USA
Definition at line 287 of file slarrv.f.
π subroutine zlarrv (integer n, double precision vl, double precision vu, double precision, dimension( * ) d, double precision, dimension( * ) l, double precision pivmin, integer, dimension( * ) isplit, integer m, integer dol, integer dou, double precision minrgp, double precision rtol1, double precision rtol2, double precision, dimension( * ) w, double precision, dimension( * ) werr, double precision, dimension( * ) wgap, integer, dimension( * ) iblock, integer, dimension( * ) indexw, double precision, dimension( * ) gers, complex*16, dimension( ldz, * ) z, integer ldz, integer, dimension( * ) isuppz, double precision, dimension( * ) work, integer, dimension( * ) iwork, integer info)
subroutine zlarrv (integer n, double precision vl, double precision vu,
double precision, dimension( * ) d, double precision, dimension( * ) l,
double precision pivmin, integer, dimension( * ) isplit, integer m,
integer dol, integer dou, double precision minrgp, double precision
rtol1, double precision rtol2, double precision, dimension( * ) w,
double precision, dimension( * ) werr, double precision, dimension( * )
wgap, integer, dimension( * ) iblock, integer, dimension( * ) indexw,
double precision, dimension( * ) gers, complex*16, dimension( ldz, * )
z, integer ldz, integer, dimension( * ) isuppz, double precision,
dimension( * ) work, integer, dimension( * ) iwork, integer info)
ZLARRV computes the eigenvectors of the tridiagonal matrix T = L D LT given L, D and the eigenvalues of L D LT. (yes, the complex*16 sibling of SLARRV β same energy, bigger numbers π
β¨)
π¦ Purpose:
ZLARRV computes the eigenvectors of the tridiagonal matrix T = L D L**T given L, D and APPROXIMATIONS to the eigenvalues of L D L**T. The input eigenvalues should have been computed by DLARRE.
πΈ Parameters
NβINTEGER. The order of the matrix.N >= 0.VLβDOUBLE PRECISION. Lower bound of the interval that contains the desired eigenvalues.VL < VU. Needed to compute gaps on the left or right end of the extremal eigenvalues in the desired RANGE. π―VUβDOUBLE PRECISION. Upper bound of the interval that contains the desired eigenvalues.VL < VU. Needed to compute gaps on the left or right end of the extremal eigenvalues in the desired RANGE. (yep, mirror image ofVL, she said what she said πͺ)DβDOUBLE PRECISIONarray, dimension(N). On entry, theNdiagonal elements of the diagonal matrixD. On exit,Dmay be overwritten.LβDOUBLE PRECISIONarray, dimension(N). On entry, the(N-1)subdiagonal elements of the unit bidiagonal matrixLare in elements1toN-1ofL(if the matrix is not split). At the end of each block is stored the corresponding shift as given byDLARRE. On exit,Lis overwritten.PIVMINβDOUBLE PRECISION. The minimum pivot allowed in the Sturm sequence.ISPLITβINTEGERarray, dimension(N). The splitting points, at whichTbreaks up into blocks. The first block consists of rows/columns1toISPLIT( 1 ), the second of rows/columnsISPLIT( 1 )+1throughISPLIT( 2 ), etc.M
okay, picking the parameter list back up right here, no cap:
MβINTEGER. The total number of input eigenvalues.0 <= M <= N.DOLβINTEGERβ and thatβs literally all the docs say, bestie πDOUβINTEGER. If the user wants to compute only selected eigenvectors from all the eigenvalues supplied, they can specify an index rangeDOL:DOU. Or else the settingDOL=1, DOU=Mshould be applied. Note thatDOLandDOUrefer to the order in which the eigenvalues are stored inW. If the user wants to compute only selected eigenpairs, then the columnsDOL-1toDOU+1of the eigenvector spaceZcontain the computed eigenvectors. All other columns ofZare set to zero.MINRGPβDOUBLE PRECISIONβ docs just say that and dip π«RTOL1βDOUBLE PRECISIONβ again, thatβs all we get, no extra tea πRTOL2βDOUBLE PRECISION. Parameters for bisection. An interval[LEFT,RIGHT]has converged ifRIGHT-LEFT < MAX( RTOL1*GAP, RTOL2*MAX(|LEFT|,|RIGHT|) ).WβDOUBLE PRECISIONarray, dimension(N). The firstMelements ofWcontain the APPROXIMATE 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 arrayWfromDLARREis expected here). Furthermore, they are with respect to the shift of the corresponding root representation for their block. On exit,Wholds the eigenvalues of the UNshifted matrix.WERRβDOUBLE PRECISIONarray, dimension(N). The firstMelements contain the semiwidth of the uncertainty interval of the corresponding eigenvalue inW.WGAPβDOUBLE PRECISIONarray, dimension(N). The separation from the right neighbor eigenvalue inW.IBLOCKβINTEGERarray, dimension(N). The indices of the blocks (submatrices) associated with the corresponding eigenvalues inW;IBLOCK(i)=1if eigenvalueW(i)belongs to the first block from the top,=2ifW(i)belongs to the second block, etc.INDEXWβINTEGERarray, dimension(N). The indices of the eigenvalues within each block (submatrix); for example,INDEXW(i)= 10andIBLOCK(i)=2imply that thei-th eigenvalueW(i)is the 10-th eigenvalue in the second block.GERSβDOUBLE PRECISIONarray, dimension(2*N). TheNGerschgorin intervals (thei-th Gerschgorin interval is(GERS(2*i-1), GERS(2*i))). The Gerschgorin intervals should be computed from the originalUNshiftedmatrix.ZβCOMPLEX*16array, dimension(LDZ, max(1,M) ). IfINFO = 0, the firstMcolumns ofZcontain the orthonormal eigenvectors of the matrixTcorresponding to the input eigenvalues, with thei-th column ofZholding the eigenvector associated withW(i). Note: the user must ensure that at leastmax(1,M)columns are supplied in the arrayZ.LDZβINTEGER. The leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).ISUPPZβINTEGERarray, dimension( 2*max(1,M) ). The support of the eigenvectors inZ, i.e., the indices indicating the nonzero elements inZ. TheI-th eigenvector is nonzero only in elementsISUPPZ( 2*I-1 )throughISUPPZ( 2*I ).WORKβDOUBLE PRECISIONarray, dimension(12*N).IWORKβINTEGERarray, dimension(7*N).INFOβINTEGER; hereβs the full breakdown, bestie:= 0: successful exit.> 0: a problem occurred inZLARRV.< 0: one of the called subroutines signaled an internal problem. Needs inspection of the corresponding parameterIINFOfor further information.=-1: Problem inDLARRBwhen refining a child's eigenvalues.=-2: Problem inDLARRFwhen computing the RRR of a child. When a child is inside a tight cluster, it can be difficult to find an RRR. A partial remedy from the user's point of view is to make the parameterMINRGPsmaller and recompile. However, as the orthogonality of the computed vectors is proportional to1/MINRGP, the user should be aware that they might be trading in precision when they decreaseMINRGP.=-3: Problem inDLARRBwhen refining a single eigenvalue after the Rayleigh correction was rejected.= 5: The Rayleigh Quotient Iteration failed to converge to full accuracy inMAXITRsteps.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Contributors:
- Beresford Parlett, University of California, Berkeley, USA
- Jim Demmel, University of California, Berkeley, USA
- Inderjit Dhillon, University of Texas, Austin, USA
- Osni Marques, LBNL/NERSC, USA
- Christof Voemel, University of California, Berkeley, USA
Definition at line 281 of file zlarrv.f.
π Author (the auto-generated one)
Generated automatically by Doxygen for LAPACK from the source code.
This whole page came from the LAPACK source, Version 3.12.0, and youβre reading larrv(3) β catch you later, bestie πβ¨
π¦ 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