TESTING/LIN/slattp.f(3)
π TESTING/LIN/slattp.f(3) β Library Functions Manual β¨
okay so bestie, this is a page out of the LAPACK manual β literally the TESTING/LIN/slattp.f page, from the Library Functions Manual. no cap, it's a whole subroutine doc and we're gonna walk through it together π«Ά
πΈ NAME πΈ
TESTING/LIN/slattp.f β that's the file, that's the vibe. periodt.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine slattp (imat, uplo, trans, diag, iseed, n, a, b, work, info)β the one and only SLATTP π
π Function/Subroutine Documentation π
subroutine slattp (integer imat, character uplo, character trans, character diag, integer, dimension( 4 ) iseed, integer n, real, dimension( * ) a, real, dimension( * ) b, real, dimension( * ) work, integer info)
SLATTP β she's the main character of this page, no notes π
π Purpose π
!>!> SLATTP generates a triangular test matrix in packed storage.!> IMAT and UPLO uniquely specify the properties of the test!> matrix, which is returned in the array AP.!>
so basically: IMAT + UPLO together decide exactly what kind of test matrix you're getting, and it comes back to you in the array AP. iconic behaviour honestly π¦
π Parameters π
IMATβIMAT is INTEGER. It's the integer key describing which matrix to generate for this path. think of it as the "which fit am I wearing today" selector π₯UPLOβUPLO is CHARACTER*1. Specifies whether the matrixAwill be upper or lower triangular.= 'U':Upper triangular= 'L':Lower triangular
TRANSβTRANS is CHARACTER*1. Specifies whether the matrix or its transpose will be used.= 'N':No transpose= 'T':Transpose= 'C':Conjugate transpose (= Transpose)
DIAGβDIAG is CHARACTER*1. Specifies whether or not the matrixAis unit triangular.= 'N':Non-unit triangular= 'U':Unit triangular
ISEEDβISEED is INTEGER array, dimension (4). The seed vector for the random number generator (used inSLATMS). Modified on exit β οΈ β yeah she changes on her way out, that's just how she is πNβN is INTEGER. The order of the matrix to be generated. the size, the moment, the scale π«AβA is REAL array, dimension (N*(N+1)/2). The upper or lower triangular matrixA, packed columnwise in a linear array. The j-th column ofAis stored in the arrayAPas follows:
if UPLO = 'U', AP((j-1)*j/2 + i) = A(i,j) for 1<=i<=j;
if UPLO = 'L',
AP((j-1)*(n-j) + j*(j+1)/2 + i-j) = A(i,j) for j<=i<=n.
like, that indexing math is giving "I took AP Calc and I'm thriving" π but it's literally just where each entry lives, iykyk π§
BβB is REAL array, dimension (N). The right hand side vector, ifIMAT > 10. note the condition bestie, don't forget it πWORKβWORK is REAL array, dimension (3*N). scratch space, the backstage area, we love her πΈINFOβINFO is INTEGER.= 0:successful exit β¨< 0:ifINFO = -k, the k-th argument had an illegal value π©
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 123 of file slattp.f. π
β Author β
Generated automatically by Doxygen for LAPACK from the source code. (so nobody hand-wrote this beauty, the robots did it π€π )
and that's the whole page, bestie β every flag, every formula, every author, all accounted for. slay π
β with love, LAPACK Version 3.12.0, dated TESTING/LIN/slattp.f(3) π
π¦ 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