/home/abui...d_2stage.f(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… NAME πŸ’…

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/chetrd_2stage.f

okay so bestie, this is a library functions manual page for a Fortran file β€” yes the whole NAME section is literally a file path, she's built different πŸ’€ β€” and it lives in the LAPACK fam, version 3.12.0.


✨ SYNOPSIS ✨

Functions/Subroutines

subroutine CHETRD_2STAGE (vect, uplo, n, a, lda, d, e, tau, hous2,
    lhous2, work, lwork, info)

CHETRD_2STAGE β€” that's her name, that's her whole vibe πŸŽ€


πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine CHETRD_2STAGE (character vect, character uplo, integer n,
    complex, dimension( lda, * ) a, integer lda, real, dimension( * ) d,
    real, dimension( * ) e, complex, dimension( * ) tau, complex, dimension(
    * ) hous2, integer lhous2, complex, dimension( * ) work, integer lwork,
    integer info)

CHETRD_2STAGE πŸ’–

🧚 Purpose:

!>
!> CHETRD_2STAGE reduces a complex Hermitian matrix A to real symmetric
!> tridiagonal form T by a unitary similarity transformation:
!> Q1**H Q2**H* A * Q2 * Q1 = T.
!>

like, she takes your complex Hermitian matrix A and reduces it to real symmetric tridiagonal form T using a unitary similarity transformation. the whole equation is Q1**H Q2**H* A * Q2 * Q1 = T β€” she ate that ngl πŸ”₯

🌸 Parameters 🌸

  • VECT β€” VECT is CHARACTER*1 bestie, this is the vibe selector:
    • = 'N': No need for the Housholder representation, in particular for the second stage (Band to tridiagonal) and thus LHOUS2 is of size max(1, 4*N);
    • = 'V': the Householder representation is needed to either generate Q1 Q2 or to apply Q1 Q2, then LHOUS2 is to be queried and computed. (NOT AVAILABLE IN THIS RELEASE).
⚠️ heads up: the 'V' option is literally (NOT AVAILABLE IN THIS RELEASE) β€” do not come for her, she told you upfront πŸ’€
  • UPLO β€” UPLO is CHARACTER*1:
    • = 'U': Upper triangle of A is stored;
    • = 'L': Lower triangle of A is stored.
  • N β€” N is INTEGER. the order of the matrix A, and N >= 0.
  • A β€” A is COMPLEX array, dimension (LDA,N). okay so on entry, she's the Hermitian matrix A. If UPLO = 'U', the leading N-by-N upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = 'L', the leading N-by-N lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, if UPLO = 'U', the band superdiagonal of A are overwritten by the corresponding elements of the internal band-diagonal matrix AB, and the elements above the KD superdiagonal, with the array TAU, represent the unitary matrix Q1 as a product of elementary reflectors; if UPLO = 'L', the diagonal and band subdiagonal of A are over-written by the corresponding elements of the internal band-diagonal matrix AB, and the elements below the KD subdiagonal, with the array TAU, represent the unitary matrix Q1 as a product of elementary reflectors. See Further Details. periodt πŸ’…
  • LDA β€” LDA is INTEGER. the leading dimension of the array A, and LDA >= max(1,N).
  • D β€” D is REAL array, dimension (N). the diagonal elements of the tridiagonal matrix T ✨
  • E β€” E is REAL array, dimension (N-1). the off-diagonal elements of the tridiagonal matrix T ✨
  • TAU β€” TAU is COMPLEX array, dimension (N-KD). the scalar factors of the elementary reflectors of the first stage (see Further Details).
  • HOUS2 β€” HOUS2 is COMPLEX array, dimension (LHOUS2). stores the Householder representation of the stage2 band to tridiagonal πŸŽ€
  • LHOUS2 β€” LHOUS2 is INTEGER. the dimension of the array HOUS2. If LWORK = -1, or LHOUS2=-1, then a query is assumed; the routine only calculates the optimal size of the HOUS2 array, returns this value as the first entry of the HOUS2 array, and no error message related to LHOUS2 is issued by XERBLA. If VECT='N', LHOUS2 = max(1, 4*n); if VECT='V', option not yet available.
  • WORK β€” WORK is COMPLEX array, dimension (LWORK) 🫢
  • LWORK β€” LWORK is INTEGER. the dimension of the array WORK. LWORK = MAX(1, dimension). If LWORK = -1, or LHOUS2 = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA.

LWORK = MAX(1, dimension) where

dimension   = max(stage1,stage2) + (KD+1)*N
            = N*KD + N*max(KD+1,FACTOPTNB)
              + max(2*KD*KD, KD*NTHREADS)
              + (KD+1)*N

where KD is the blocking size of the reduction, FACTOPTNB is the blocking used by the QR or LQ algorithm, usually FACTOPTNB=128 is a good choice, NTHREADS is the number of threads used when openMP compilation is enabled, otherwise =1. the math is mathing bestie 😭

  • INFO β€” INFO is INTEGER:
    • = 0: successful exit
    • < 0: if INFO = -i, the i-th argument had an illegal value

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

iconic lineup fr fr 🌈

⭐ Further Details: ⭐

!>
!>  Implemented by Azzam Haidar.
!>
!>  All details are available on technical report, SC11, SC13 papers.
!>
!>  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
!>
!>

she cited her sources, we love a scholar πŸŽ“πŸ’œ

Definition at line 222 of file chetrd_2stage.f.


πŸ“ Author πŸ“

Generated automatically by Doxygen for LAPACK from the source code. not a human, just a robot doing her little thing πŸ€–βœ¨


and that's the whole page bestie! this manual page is brought to you by LAPACK, Version 3.12.0 β€” dated with the path /home/abui...d_2stage.f(3) β€” so go forth, reduce your Hermitian matrices, and slay πŸ’…πŸ«ΆπŸ’–

πŸ“¦ where this page comes from