CLATTP(3)
hey bestie π okay so we're looking at the Library Functions Manual page for clattp.f(3) β and no, it's not a typo, it's LAPACK's CLATTP and she's iconic. let's get into it π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/clattp.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CLATTP (imat, uplo, trans, diag, iseed, n, ap, b, work,
rwork, info)
CLATTP
π¦ Function/Subroutine Documentation π¦
subroutine CLATTP (integer imat, character uplo, character trans, character
diag, integer, dimension( 4 ) iseed, integer n, complex, dimension( * )
ap, complex, dimension( * ) b, complex, dimension( * ) work, real,
dimension( * ) rwork, integer info)
CLATTP
Purpose
okay so CLATTP 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. that's it, that's the vibe β¨
Parameters
IMAT
IMAT is INTEGER. an integer key describing which matrix to generate for this path. think of it as the little matrix menu π
UPLO
UPLO is CHARACTER*1. specifies whether the matrix A will 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
DIAG
DIAG is CHARACTER*1. specifies whether or not the matrix A is 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 in CLATMS). modified on exit.
N
N is INTEGER. the order of the matrix to be generated.
AP
AP is COMPLEX array, dimension (N*(N+1)/2). the upper or lower triangular matrix A, packed columnwise in a linear array. the j-th column of A is stored in the array AP as 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.
B
B is COMPLEX array, dimension (N). the right hand side vector, if IMAT > 10.
WORK
WORK is COMPLEX array, dimension (2*N).
RWORK
RWORK is REAL array, dimension (N).
INFO
INFO is INTEGER.
= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
Author πΈ
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 129 of file clattp.f.
Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
that's the whole page, bestie π«Ά this legend was brought to you by LAPACK Version 3.12.0, page /home/abui...IN/clattp.f(3). slay π
β¨
π¦ 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