SRC/zhbgst.f(3)
hey bestie π welcome to SRC/zhbgst.f(3) β yes, that's the Library Functions Manual page, and we're about to make LAPACK feel like a group chat. No cap, every detail is still here.
π NAME
SRC/zhbgst.f β the whole page is literally about the zhbgst subroutine.
β¨ SYNOPSIS
π Functions/Subroutines
subroutine zhbgst (vect, uplo, n, ka, kb, ab, ldab, bb, ldbb, x,
ldx, work, rwork, info)
ZHBGST
π«Ά Function/Subroutine Documentation
Here's the full signature, exactly as it appears, because we do not mess with source code in this house:
subroutine zhbgst (character vect, character uplo, integer n, integer ka,
integer kb, complex*16, dimension( ldab, * ) ab, integer ldab,
complex*16, dimension( ldbb, * ) bb, integer ldbb, complex*16,
dimension( ldx, * ) x, integer ldx, complex*16, dimension( * ) work,
double precision, dimension( * ) rwork, integer info)
ZHBGST
π― Purpose
Okay so here's the tea: ZHBGST reduces a complex Hermitian-definite banded generalized eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y, such that C has the same bandwidth as A.
B must have been previously factorized as S**H*S by ZPBSTF, using a split Cholesky factorization. A is overwritten by C = X**H*A*X, where X = S**(-1)*Q and Q is a unitary matrix chosen to preserve the bandwidth of A.
bestie, A gets overwritten β that's not a drill, that's literally what the page says.
πΈ Parameters
VECTβ isCHARACTER*1.= 'N': do not form the transformation matrixX;= 'V': formX.UPLOβ isCHARACTER*1.= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.Nβ isINTEGER. The order of the matricesAandB.N >= 0.KAβ isINTEGER. The number of superdiagonals of the matrixAifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KA >= 0.KBβ isINTEGER. The number of superdiagonals of the matrixBifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KA >= KB >= 0.ABβ isCOMPLEX*16array, dimension(LDAB,N). On entry, the upper or lower triangle of the Hermitian band matrixA, stored in the firstka+1rows of the array. Thej-th column ofAis stored in thej-th column of the arrayABas follows: ifUPLO = 'U',AB(ka+1+i-j,j) = A(i,j)formax(1,j-ka)<=i<=j; ifUPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+ka). On exit, the transformed matrixX**H*A*X, stored in the same format asA.LDABβ isINTEGER. The leading dimension of the arrayAB.LDAB >= KA+1.BBβ isCOMPLEX*16array, dimension(LDBB,N). The banded factorSfrom the split Cholesky factorization ofB, as returned byZPBSTF, stored in the firstkb+1rows of the array.LDBBβ isINTEGER. The leading dimension of the arrayBB.LDBB >= KB+1.Xβ isCOMPLEX*16array, dimension(LDX,N). IfVECT = 'V', then-by-nmatrixX. IfVECT = 'N', the arrayXis not referenced.LDXβ isINTEGER. The leading dimension of the arrayX.LDX >= max(1,N)ifVECT = 'V';LDX >= 1otherwise.WORKβ isCOMPLEX*16array, dimension(N).RWORKβ isDOUBLE PRECISIONarray, dimension(N).INFOβ isINTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 163 of file zhbgst.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. π
mwah π β shoutout to LAPACK Version 3.12.0 and the page SRC/zhbgst.f(3). Bye 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