TESTING/LIN/dlattb.f(3)
πΈ NAME πΈ
TESTING/LIN/dlattb.f β bestie, this is the page for the dlattb subroutine, and it's coming to you from the Library Functions Manual. π
π¦ SYNOPSIS π¦
π Functions/Subroutines π
subroutine dlattb (imat, uplo, trans, diag, iseed, n, kd, ab, ldab, b, work, info)
DLATTB
π Function/Subroutine Documentation π
subroutine dlattb (integer imat, character uplo, character trans, character diag, integer, dimension( 4 ) iseed, integer n, integer kd, double precision, dimension( ldab, * ) ab, integer ldab, double precision, dimension( * ) b, double precision, dimension( * ) work, integer info)
DLATTB is the main-character subroutine here. β¨
π Purpose π
okay so DLATTB generates a triangular test matrix in 2-dimensional storage. IMAT and UPLO uniquely specify the properties of the test matrix, which is 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. It specifies whether the matrix A will be upper or lower triangular.
= 'U': Upper triangular= 'L': Lower triangular
TRANS
TRANS is CHARACTER*1. It specifies whether the matrix or its transpose will be used.
= 'N': No transpose= 'T': Transpose= 'C': Conjugate transpose (= transpose)
DIAG
DIAG is CHARACTER*1. It specifies whether or not the matrix A is unit triangular.
= '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 in DLATMS). 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 matrix A. KD >= 0.
AB
AB is DOUBLE PRECISION array, dimension (LDAB,N). It's the upper or lower triangular banded matrix A, stored in the first KD+1 rows of AB. Let j be a column of A, 1<=j<=n.
- If
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j. - If
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
LDAB
LDAB is INTEGER. The leading dimension of the array AB. LDAB >= KD+1.
B
B is DOUBLE PRECISION array, dimension (N).
WORK
WORK is DOUBLE PRECISION array, dimension (2*N).
INFO
INFO is INTEGER.
= 0: successful exit< 0: ifINFO = -k, thek-thargument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file dlattb.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π footer sign-off: source/version/date line says LAPACK / Version 3.12.0 / TESTING/LIN/dlattb.f(3) β that's the very end, 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