SRC/dgebak.f(3)
๐ธ SRC/dgebak.f(3) โ like, the actual manual page for dgebak ๐ธ
okay bestie, so this is straight out of the Library Functions Manual and it's giving "BLAS/LAPACK internals, but make it readable" ๐
. Sit down, grab a strawberry ๐, and let's unbox what dgebak is actually doing, because it's lowkey iconic.
โจ NAME โจ
SRC/dgebak.f โ that's the file, that's the vibe. ๐
โจ SYNOPSIS โจ
Functions/Subroutines
subroutine dgebak (job, side, n, ilo, ihi, scale, m, v, ldv, info)โ literally THEDGEBAK. main character energy fr fr ๐
๐ Function/Subroutine Documentation ๐
subroutine dgebak (character job, character side, integer n, integer ilo,
integer ihi, double precision, dimension( * ) scale, integer m, double
precision, dimension( ldv, * ) v, integer ldv, integer info)
DGEBAK โจ โ yes that's the name, we're claiming it ๐ซถ
๐ Purpose (the whole point of her)
!>!> DGEBAK forms the right or left eigenvectors of a real general matrix!> by backward transformation on the computed eigenvectors of the!> balanced matrix output by DGEBAL.!>
Translation, bestie: DGEBAL gave you a balanced matrix (it shuffled and rescaled things so the math behaved ๐ง). DGEBAK is the glow-up reversal โ it takes the eigenvectors you computed for that balanced version and undoes the permutation and/or scaling so they're eigenvectors of the original matrix again. no cap, that's it ๐
๐ฆ Parameters ๐ฆ
JOBโJOB is CHARACTER*1
tells us what kind of backward transformation we're doing:
= 'N': do nothing, return immediately;
= 'P': do backward transformation for permutation only;
= 'S': do backward transformation for scaling only;
= 'B': do backward transformations for both permutation and
scaling.
โ ๏ธ periodt: JOB must be the same as the argument JOB supplied to DGEBAL. like, they have to match. don't play with her.
SIDEโSIDE is CHARACTER*1
= 'R': V contains right eigenvectors;
= 'L': V contains left eigenvectors.
pick a side, any side ๐
NโN is INTEGERThe number of rows of the matrix V. N >= 0.๐งฎILOโILO is INTEGER(she's just an integer, but she matters, keep scrolling)IHIโIHI is INTEGERThe integers ILO and IHI determined by DGEBAL.1 <= ILO <= IHI <= N, if N > 0; ILO=1 and IHI=0, if N=0.๐ ikyk: those bounds are not a suggestion, they're a lifestyle.SCALEโSCALE is DOUBLE PRECISION array, dimension (N)Details of the permutation and scaling factors, as returned by DGEBAL.๐ธ this array is literally the recipe for undoing everything.MโM is INTEGERThe number of columns of the matrix V. M >= 0.๐ซVโV is DOUBLE PRECISION array, dimension (LDV,M)
On entry, the matrix of right or left eigenvectors to be transformed, as returned by DHSEIN or DTREVC. On exit, V is overwritten by the transformed eigenvectors.
๐ฅ heads up: V gets overwritten. on exit it's a whole new matrix. if you needed the old oneโฆ she's gone, sorry ๐ญ
LDVโLDV is INTEGERThe leading dimension of the array V. LDV >= max(1,N).๐ classic Fortran leading-dimension moment.INFOโINFO is INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value.
so 0 is the slay, and anything negative means somebody handed over a bad argument ๐
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 128 of file dgebak.f. โญ
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code.
(not a human, just a robot doing her little documentation dance ๐คโจ)
and that's the whole thing bestie, every flag, every bound, every "must be the same as", all of it ๐
๐ this page is from LAPACK, Version 3.12.0, pageSRC/dgebak.f(3). bye, drink water, and may all yourINFOvalues be0๐ซถ๐๐
๐ฆ 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