SRC/zunbdb5.f(3)
πΈ NAME πΈ
okay so this page is SRC/zunbdb5.f(3), and it's from the Library Functions Manual. It's the whole ZUNBDB5 vibe: a Fortran subroutine that orthogonalizes a column vector against an orthonormal basis. π
β¨
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
subroutine zunbdb5 (m1, m2, n, x1, incx1, x2, incx2, q1, ldq1, q2, ldq2, work, lwork, info)
ZUNBDB5
π Function/Subroutine Documentation π
π subroutine zunbdb5
subroutine zunbdb5 (integer m1, integer m2, integer n, complex*16,
dimension(*) x1, integer incx1, complex*16, dimension(*) x2, integer
incx2, complex*16, dimension(ldq1,*) q1, integer ldq1, complex*16,
dimension(ldq2,*) q2, integer ldq2, complex*16, dimension(*) work,
integer lwork, integer info)
ZUNBDB5
π Purpose π
bestie, here's the whole point: ZUNBDB5 orthogonalizes the column vector
X = [ X1 ]
[ X2 ]
with respect to the columns of
Q = [ Q1 ] .
[ Q2 ]
The columns of Q must be orthonormal. Like, that's not optional. π«Ά
If the projection is zero according to Kahan's criterion, then some other vector from the orthogonal complement is returned. This vector is chosen in an arbitrary but deterministic way.
this is the exact Kahan's-criterion situation, so keep that detail in mind π
π Parameters π
M1βM1 is INTEGER; the dimension ofX1and the number of rows inQ1.0 <= M1.M2βM2 is INTEGER; the dimension ofX2and the number of rows inQ2.0 <= M2.NβN is INTEGER; the number of columns inQ1andQ2.0 <= N.X1βX1 is COMPLEX*16 array, dimension (M1); on entry, the top part of the vector to be orthogonalized. On exit, the top part of the projected vector.INCX1βINCX1 is INTEGER; increment for entries ofX1.X2βX2 is COMPLEX*16 array, dimension (M2); on entry, the bottom part of the vector to be orthogonalized. On exit, the bottom part of the projected vector.INCX2βINCX2 is INTEGER; increment for entries ofX2.Q1βQ1 is COMPLEX*16 array, dimension (LDQ1, N); the top part of the orthonormal basis matrix.LDQ1βLDQ1 is INTEGER; the leading dimension ofQ1.LDQ1 >= M1.Q2βQ2 is COMPLEX*16 array, dimension (LDQ2, N); the bottom part of the orthonormal basis matrix.LDQ2βLDQ2 is INTEGER; the leading dimension ofQ2.LDQ2 >= M2.WORKβWORK is COMPLEX*16 array, dimension (LWORK).LWORKβLWORK is INTEGER; the dimension of the arrayWORK.LWORK >= N.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.
Definition at line 154 of file zunbdb5.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page, bestie π. The footer vibes are LAPACK, Version 3.12.0, source SRC/zunbdb5.f(3). Mwah πβ¨
π¦ 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