CHBTRD(3)
CHBTRD(3) β Library Functions Manual π
okay bestie, this is CHBTRD(3) from the Library Functions Manual β header path /home/abui...RC/chbtrd.f(3), and the actual source is the full path below. buckle up, itβs giving linear algebra but make it cute β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/chbtrd.f
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine CHBTRD (vect, uplo, n, kd, ab, ldab, d, e, q, ldq, work,
info)
CHBTRD
π Function/Subroutine Documentation π
subroutine CHBTRD (character vect, character uplo, integer n, integer kd,
complex, dimension( ldab, * ) ab, integer ldab, real, dimension( * ) d,
real, dimension( * ) e, complex, dimension( ldq, * ) q, integer ldq,
complex, dimension( * ) work, integer info)
CHBTRD
π Purpose π
okay so CHBTRD reduces a complex Hermitian band matrix A to real symmetric tridiagonal form T by a unitary similarity transformation:
Q**H * A * Q = T.
literally iconic. π
π Parameters π
VECTβVECTisCHARACTER*1= 'N': do not formQ;= 'V': formQ;= 'U': update a matrixX, by formingX*Q.
UPLOβUPLOisCHARACTER*1= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NβNisINTEGERThe order of the matrixA.N >= 0.KDβKDisINTEGERThe number of superdiagonals of the matrixAifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.ABβABisCOMPLEXarray, dimension(LDAB,N)On entry, the upper or lower triangle of the Hermitian band matrixA, stored in the firstKD+1rows of the array. The j-th column ofAis stored in the j-th column of the arrayABas follows:
if UPLO = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-kd)<=i<=j;
if UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+kd).
On exit, the diagonal elements of AB are overwritten by the diagonal elements of the tridiagonal matrix T; if KD > 0, the elements on the first superdiagonal (if UPLO = 'U') or the first subdiagonal (if UPLO = 'L') are overwritten by the off-diagonal elements of T; the rest of AB is overwritten by values generated during the reduction.
LDABβLDABisINTEGERThe leading dimension of the arrayAB.LDAB >= KD+1.DβDisREALarray, dimension(N)The diagonal elements of the tridiagonal matrixT.EβEisREALarray, dimension(N-1)The off-diagonal elements of the tridiagonal matrixT:E(i) = T(i,i+1)ifUPLO = 'U';E(i) = T(i+1,i)ifUPLO = 'L'.QβQisCOMPLEXarray, dimension(LDQ,N)On entry, ifVECT = 'U', thenQmust contain an N-by-N matrixX; ifVECT = 'N'or'V', thenQneed not be set.
On exit:
- if
VECT = 'V',Qcontains the N-by-N unitary matrixQ; - if
VECT = 'U',Qcontains the productX*Q; - if
VECT = 'N', the arrayQis not referenced.
LDQβLDQisINTEGERThe leading dimension of the arrayQ.LDQ >= 1, andLDQ >= NifVECT = 'V'or'U'.WORKβWORKisCOMPLEXarray, dimension(N)INFOβINFOisINTEGER= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Further Details: π
Modified by Linda Kaufman, Bell Labs.
Definition at line 161 of file chbtrd.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
made with π by LAPACK Version 3.12.0 β footer path says /home/abui...RC/chbtrd.f(3), and thatβs the whole vibe check, bestie π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms