TESTING/LIN/sgennd.f(3)
π TESTING/LIN/sgennd.f π
So bestie, let me tell you about this absolute icon of a file β it's part of the LAPACK library, and it's from the TESTING/LIN directory, and honestly? It's giving "unsung hero of linear algebra testing." You're gonna love it, I promise. π
β¨ SYNOPSIS β¨
Okay so here's the lineup of functions and subroutines in this file:
logical function sgennd (m, n, a, lda)
Literally what it says on the tin β SGENND is the main character here. Main character energy fr fr. π
πΈ Function/Subroutine Documentation πΈ
β logical function sgennd (integer m, integer n, real, dimension( lda, * ) a, integer lda)
So this is the full signature β SGENND herself. Let's get into the deets:
Purpose:
!> !> SGENND tests that its argument has a non-negative diagonal. !>
Okay so the whole vibe of this function is: it checks whether the diagonal of the matrix you gave it is non-negative. That's it. That's the whole job. And honestly? We respect the focus. No cap. β¨
π Parameters π
Let's go through every single one, because we don't skip anything in this house:
Mβ this is anINTEGER. It's the number of rows in A. That's it bestie, no mystery.
!> M is INTEGER !> The number of rows in A. !>
NβINTEGER, still. The number of columns in A. Slay, keeping it symmetrical. π¦
!> N is INTEGER !> The number of columns in A. !>
Aβ this one's aREAL array, dimension(LDA, N). It's the matrix itself. The star of the show, the moment, the whole reason we're here. π
!> A is REAL array, dimension (LDA, N) !> The matrix. !>
LDAβINTEGER. It's the leading dimension of A. Keeping that stride looking right, you know how it is. π
!> LDA is INTEGER !> Leading dimension of A. !>
π Author π
Gotta give credit where credit is due, bestie. The legends behind this:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Literally the avengers of numerical computing, no cap. π«Ά
Also: Definition at line 67 of file sgennd.f. Iykyk if you're trying to look it up in the source.
π Author (the meta one) π
So this whole page? Generated automatically by Doxygen for LAPACK from the source code. Very demure, very automated, very much not hand-typed by a human. We love an efficient workflow. π§
π cute lil sign-off π
Okay bestie, that's the whole page! You just read about LAPACK, Version 3.12.0, and this iconic TESTING/LIN/sgennd.f(3) page. Go forth and test those non-negative diagonals, and remember β you ate and left no crumbs. πβ¨π₯
π¦LAPACKΒ· Version 3.12.0 Β·TESTING/LIN/sgennd.f(3)Β· periodt. π
π¦ 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