CBDT01(3)
πΈ NAME πΈ
okay bestie, welcome to CBDT01(3) from the Library Functions Manual β manual name folded in near the top like a tiny bow. π The NAME line is literally this whole path, so letβs give it its moment:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/cbdt01.f
π SYNOPSIS π
π Functions/Subroutines π
Hereβs the synopsis, no cap β keep these names exactly:
subroutine CBDT01 (m, n, kd, a, lda, q, ldq, d, e, pt, ldpt, work,
rwork, resid)
CBDT01
CBDT01 is the subroutine weβre hyping. π
π Function/Subroutine Documentation π
Full signature, character-for-character bestie:
subroutine CBDT01 (integer m, integer n, integer kd, complex, dimension(
lda, * ) a, integer lda, complex, dimension( ldq, * ) q, integer ldq,
real, dimension( * ) d, real, dimension( * ) e, complex, dimension(
ldpt, * ) pt, integer ldpt, complex, dimension( * ) work, real,
dimension( * ) rwork, real resid)
CBDT01 β yes, again. Itβs giving main character energy. π
π Purpose π
okay so CBDT01 reconstructs a general matrix A from its bidiagonal form
A = Q * B * P**H
where Q (m by min(m,n)) and P**H (min(m,n) by n) are unitary matrices and B is bidiagonal.
The test ratio to test the reduction is
RESID = norm(A - Q * B * P**H) / ( n * norm(A) * EPS )
where EPS is the machine precision. Thatβs the whole quest, and it ate. π₯
π§ Parameters π§
MβMis INTEGER. The number of rows of the matricesAandQ. rows have entered the chat, respectfully.NβNis INTEGER. The number of columns of the matricesAandP**H.KDβKDis INTEGER. IfKD = 0,Bis diagonal and the arrayEis not referenced. IfKD = 1, the reduction was performed byxGEBRD;Bis upper bidiagonal ifM >= N, and lower bidiagonal ifM < N. IfKD = -1, the reduction was performed byxGBBRD;Bis always upper bidiagonal. so many little cases, but we love a structured queen. πAβAis COMPLEX array, dimension(LDA,N). The m by n matrixA.LDAβLDAis INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).QβQis COMPLEX array, dimension(LDQ,N). The m by min(m,n) unitary matrixQin the reductionA = Q * B * P**H.LDQβLDQis INTEGER. The leading dimension of the arrayQ.LDQ >= max(1,M).DβDis REAL array, dimension(min(M,N)). The diagonal elements of the bidiagonal matrixB.EβEis REAL array, dimension(min(M,N)-1). The superdiagonal elements of the bidiagonal matrixBifm >= n, or the subdiagonal elements ofBifm < n.PTβPTis COMPLEX array, dimension(LDPT,N). The min(m,n) by n unitary matrixP**Hin the reductionA = Q * B * P**H.LDPTβLDPTis INTEGER. The leading dimension of the arrayPT.LDPT >= max(1,min(M,N)).WORKβWORKis COMPLEX array, dimension(M+N).RWORKβRWORKis REAL array, dimension(M).RESIDβRESIDis REAL. The test ratio:norm(A - Q * B * P**H) / ( n * norm(A) * EPS ). the final boss ratio, honestly. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 145 of file cbdt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π Cute sign-off time: this page is stamped LAPACK Version 3.12.0, with footer path /home/abui...IG/cbdt01.f(3), and itβs been a whole vibe. Bye 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