TESTING/EIG/dslect.f(3)
π TESTING/EIG/dslect.f β¨
okay so bestie, gather round, because this page is from LAPACK, and the file we're talking about is TESTING/EIG/dslect.f β like, the header up there literally says TESTING/EIG/dslect.f(3), and the manual it lives in is Library Functions Manual π so that's the whole vibe. she's a testing-file girlie and she's here to sort eigenvalues. no cap.
πΈ SYNOPSIS πΈ
Functions/Subroutines π¦
logical function dslect (zr, zi)β DSLECT, that's her π«Ά
β¨ Function/Subroutine Documentation β¨
logical function dslect (double precision zr, double precision zi)
DSLECT π (yes, again, she's the whole moment)
π Purpose π
fortran !> !> DSLECT returns .TRUE. if the eigenvalue ZR+sqrt(-1)*ZI is to be !> selected, and otherwise it returns .FALSE. !> It is used by DCHK41 to test if DGEES successfully sorts eigenvalues, !> and by DCHK43 to test if DGEESX successfully sorts eigenvalues. !> !> The common block /SSLCT/ controls how eigenvalues are selected. !> If SELOPT = 0, then DSLECT return .TRUE. when ZR is less than zero, !> and .FALSE. otherwise. !> If SELOPT is at least 1, DSLECT returns SELVAL(SELOPT) and adds 1 !> to SELOPT, cycling back to 1 at SELMAX. !>
so, like, to translate the girl-talk: our bestie DSLECT returns .TRUE. if the eigenvalue ZR+sqrt(-1)*ZI is supposed to be selected, and .FALSE. if she's not the one π
. she gets called up by DCHK41 to check whether DGEES actually sorts eigenvalues correctly, and by DCHK43 to check the same thing for DGEESX β she's the vibe-checker for the sorting, literally.
the common block /SSLCT/ is what tells her how eigenvalues get selected π§:
- if
SELOPT = 0, she returns.TRUE.whenZRis less than zero, and.FALSE.otherwise. - if
SELOPTis at least 1, she returnsSELVAL(SELOPT)and adds 1 toSELOPT, cycling back to 1 atSELMAX. iconic behavior honestly, she just keeps looping π₯
β Parameters β
ZR
fortran !> ZR is DOUBLE PRECISION !> The real part of a complex eigenvalue ZR + i*ZI. !>
ZR is DOUBLE PRECISION, and she's the real part of the complex eigenvalue ZR + i*ZI π
ZI
fortran !> ZI is DOUBLE PRECISION !> The imaginary part of a complex eigenvalue ZR + i*ZI. !>
ZI is also DOUBLE PRECISION, and she's the imaginary part of that same complex eigenvalue ZR + i*ZI π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad came through for this one, fr fr π
Definition at line 61 of file dslect.f. π
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this, the machine did it, and honestly? she ate π€π
okay that's the whole page bestie, love that for us π and for the cute sign-off: this is LAPACK Version 3.12.0, dated with that TESTING/EIG/dslect.f(3) footer energy at the very bottom, iykyk π«Άβ¨π
π¦ 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