SRC/cheev_2stage.f(3)
Okay bestie, this is the SRC/cheev_2stage.f(3) page from the Library Functions Manual β and itβs literally all about cheev_2stage, no cap. π
π NAME
SRC/cheev_2stage.f
β¨ SYNOPSIS β¨
Functions/Subroutines π
subroutine cheev_2stage (jobz, uplo, n, a, lda, w, work, lwork, rwork,
info)
CHEEV_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices. π
π«Ά Function/Subroutine Documentation
subroutine cheev_2stage (character jobz, character uplo, integer n, complex,
dimension( lda, * ) a, integer lda, real, dimension( * ) w, complex,
dimension( * ) work, integer lwork, real, dimension( * ) rwork, integer
info)
CHEEV_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices. πΈ
Purpose:
!>
!> CHEEV_2STAGE computes all eigenvalues and, optionally, eigenvectors of a
!> complex Hermitian matrix A using the 2stage technique for
!> the reduction to tridiagonal.
!>
Parameters
JOBZβJOBZisCHARACTER*1. Bestie, itβs giving choice:= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.Not available in this release.π
UPLOβUPLOisCHARACTER*1. Which triangle are we storing, hmm?= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
NβNisINTEGER. Itβs the order of the matrixA.N >= 0. π«ΆAβAisCOMPLEX array, dimension (LDA, N).- On entry, itβs the Hermitian matrix
A. IfUPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA. IfUPLO = 'L', the leadingN-by-Nlower triangular part ofAcontains the lower triangular part of the matrixA. - On exit, if
JOBZ = 'V', then ifINFO = 0,Acontains the orthonormal eigenvectors of the matrixA. - If
JOBZ = 'N', then on exit the lower triangle (ifUPLO='L') or the upper triangle (ifUPLO='U') ofA, including the diagonal, is destroyed. π
- On entry, itβs the Hermitian matrix
LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N). πWβWisREAL array, dimension (N). IfINFO = 0, the eigenvalues in ascending order. πWORKβWORKisCOMPLEX array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. β¨LWORKβLWORKisINTEGER. The length of the arrayWORK.LWORK >= 1, when N <= 1;otherwise:- If
JOBZ = 'N'andN > 1,LWORKmust be queried.
- If
LWORK = MAX(1, dimension) where
dimension = max(stage1,stage2) + (KD+1)*N + N
= N*KD + N*max(KD+1,FACTOPTNB)
+ max(2*KD*KD, KD*NTHREADS)
+ (KD+1)*N + N
- where
KDis the blocking size of the reduction, FACTOPTNBis the blocking used by the QR or LQ algorithm, usuallyFACTOPTNB=128is a good choice,NTHREADSis the number of threads used whenopenMPcompilation is enabled, otherwise=1.- If
JOBZ = 'V'andN > 1,LWORKmust be queried.Not yet availableπ - If
LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA. π₯
RWORKβRWORKisREAL array, dimension (max(1, 3*N-2)). πINFOβINFOisINTEGER.= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value> 0: if INFO = i, the algorithm failed to converge; i off-diagonal elements of an intermediate tridiagonal form did not converge to zero.π
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
!>
!> All details about the 2stage techniques are available in:
!>
!> Azzam Haidar, Hatem Ltaief, and Jack Dongarra.
!> Parallel reduction to condensed forms for symmetric eigenvalue problems
!> using aggregated fine-grained and memory-aware kernels. In Proceedings
!> of 2011 International Conference for High Performance Computing,
!> Networking, Storage and Analysis (SC '11), New York, NY, USA,
!> Article 8 , 11 pages.
!> http://doi.acm.org/10.1145/2063384.2063394
!>
!> A. Haidar, J. Kurzak, P. Luszczek, 2013.
!> An improved parallel singular value algorithm and its implementation
!> for multicore hardware, In Proceedings of 2013 International Conference
!> for High Performance Computing, Networking, Storage and Analysis (SC '13).
!> Denver, Colorado, USA, 2013.
!> Article 90, 12 pages.
!> http://doi.acm.org/10.1145/2503210.2503292
!>
!> A. Haidar, R. Solca, S. Tomov, T. Schulthess and J. Dongarra.
!> A novel hybrid CPU-GPU generalized eigensolver for electronic structure
!> calculations based on fine-grained memory aware tasks.
!> International Journal of High Performance Computing Applications.
!> Volume 28 Issue 2, Pages 196-209, May 2014.
!> http://hpc.sagepub.com/content/28/2/196
!>
!>
Definition at line 187 of file cheev_2stage.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Bye bestie π β final footer energy: LAPACK Version 3.12.0, page SRC/cheev_2stage.f(3). Periodt. πβ¨
π¦ 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