TESTING/LIN/slattb.f(3)
okay bestie, this is a Library Functions Manual page for TESTING/LIN/slattb.f β aka the home of the SLATTB routine. itβs giving test-matrix generator energy, and weβre gonna walk through it together, no cap. π
π NAME π
TESTING/LIN/slattb.f β thatβs the name, short and iconic. periodt.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine slattb (imat, uplo, trans, diag, iseed, n, kd, ab, ldab, b, work, info)
SLATTB β the routine itself. π
πΈ Function/Subroutine Documentation πΈ
subroutine slattb (integer imat, character uplo, character trans, character diag, integer, dimension( 4 ) iseed, integer n, integer kd, real, dimension( ldab, * ) ab, integer ldab, real, dimension( * ) b, real, dimension( * ) work, integer info)
SLATTB again, because the docs said so. π«Ά
π₯ Purpose π₯
SLATTB generates a triangular test matrix in 2-dimensional storage. IMAT and UPLO are the duo that uniquely specify the properties of the test matrix, and itβs returned in the array A. thatβs the whole purpose, and it ate. β¨
π Parameters π
IMATβIMAT is INTEGER. itβs an integer key describing which matrix to generate for this path. πUPLOβUPLO is CHARACTER*1. tells you whether matrixAwill be upper or lower triangular. values:= 'U': Upper triangular,= 'L': Lower triangular. πTRANSβTRANS is CHARACTER*1. says whether the matrix or its transpose gets used. values:= 'N': No transpose,= 'T': Transpose,= 'C': Conjugate transpose (= transpose). πDIAGβDIAG is CHARACTER*1. says whether or not matrixAis unit triangular. values:= 'N': Non-unit triangular,= 'U': Unit triangular. πISEEDβISEED is INTEGER array, dimension (4). itβs the seed vector for the random number generator (used inSLATMS), and itβs Modified on exit. π²NβN is INTEGER. the order of the matrix to be generated. π’KDβKD is INTEGER. the number of superdiagonals or subdiagonals of the banded triangular matrixA.KD >= 0. πABβAB is REAL array, dimension (LDAB,N). the upper or lower triangular banded matrixA, stored in the firstKD+1rows ofAB. Letjbe a column ofA,1<=j<=n. IfUPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j. IfUPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd). π§ΊLDABβLDAB is INTEGER. the leading dimension of the arrayAB.LDAB >= KD+1. πBβB is REAL array, dimension (N). π«WORKβWORK is REAL array, dimension (2*N). π οΈINFOβINFO is INTEGER. values:= 0: successful exit;< 0: if INFO = -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 133 of file slattb.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole manual page, bestie! source/version vibes: LAPACK Version 3.12.0, and the footer date/stamp is TESTING/LIN/slattb.f(3). mwah πβ¨
π¦ 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