SLATTR(3)
π SLATTR(3) β slattr.f(3)
ok so this is a page from the LAPACK Library Functions Manual, and it's literally about one little Fortran file, bestie. buckle up π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/slattr.f
yep, that's the whole name section β it's just the file path, no cap. that's our girl. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines
subroutine SLATTR (imat, uplo, trans, diag, iseed, n, a, lda, b, work, info)β SLATTRSLATTRβ also SLATTR. she contains multitudes π«
β¨ Function/Subroutine Documentation β¨
πΈ subroutine SLATTR
subroutine SLATTR (integer imat, character uplo, character trans, character
diag, integer, dimension( 4 ) iseed, integer n, real, dimension( lda, *
) a, integer lda, real, dimension( * ) b, real, dimension( * ) work,
integer info)
SLATTR
π Purpose:
!>
!> SLATTR generates a triangular test matrix.
!> IMAT and UPLO uniquely specify the properties of the test
!> matrix, which is returned in the array A.
!>
so basically: she makes you a triangular test matrix π and IMAT + UPLO together are the whole personality of that matrix β they uniquely pick what it's gonna be, and it comes back at you in the array A. iconic behavior honestly.
π§ Parameters
IMATβIMAT is INTEGER. it's an integer key that says which matrix to generate for this path. like a little menu selection but for matrices π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)
ngl 'C' just means the same thing here, she said "same vibe" π
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 β she will change it, that's not a drill πNβN is INTEGER. the order of the matrix to be generated. how big she is β¨AβA is REAL array, dimension (LDA,N). the triangular matrixA. ifUPLO = 'U', the leading n by n upper triangular part of the arrayAcontains the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. ifUPLO = 'L', the leading n by n lower triangular part of the arrayAcontains the lower triangular matrix, and the strictly upper triangular part ofAis not referenced. ifDIAG = 'U', the diagonal elements ofAare set so thatA(k,k) = kfor1 <= k <= n. π«ΆLDAβLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,N). respect the constraint bestie π¨BβB is REAL array, dimension (N). the right hand side vector, ifIMAT > 10. conditional queen πWORKβWORK is REAL array, dimension (3*N). that's it, that's the whole description. she works πͺ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 131 of file slattr.f. noted, so you can go find her in the wild π
π Author
Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this, the machine did it, and honestly? she ate π€β¨
lowkey reminder: every number, every flag, every'U'and'L'above is exactly as written β don't go freestyling your arguments, the vibe check is strict here π§Ώ
that's the whole page, bestie β mwah π
this has been LAPACK, Version 3.12.0, dated /home/abui...IN/slattr.f(3) β catch you in the next manpage, love u, bye π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms