STPTTR(3)
πΈ NAME πΈ
okay bestie, welcome to stpttr.f(3) β it's a LAPACK page filed under Library Functions Manual, and the header/footer path vibes as /home/abui...RC/stpttr.f(3). The actual source file named in NAME is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/stpttr.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine STPTTR (uplo, n, ap, a, lda, info)
STPTTR copies a triangular matrix from the standard packed format
(TP) to the standard full format (TR).
π Function/Subroutine Documentation π
subroutine STPTTR (character uplo, integer n, real, dimension( * ) ap, real,
dimension( lda, * ) a, integer lda, integer info)
The whole main-character move: STPTTR copies a triangular matrix from the standard packed format (TP) into the standard full format (TR). No cap.
π Purpose π
!>
!> STPTTR copies a triangular matrix A from standard packed format (TP)
!> to standard full format (TR).
!>
tl;dr: it moves triangular matrix A from packed TP land into full TR land. Obsessed.
π¦ Parameters π¦
UPLO
UPLO is CHARACTER*1 β it picks which triangle is the moment:
= 'U':Ais upper triangular.= 'L':Ais lower triangular.
N
N is INTEGER, the order of the matrix A. N >= 0.
AP
AP is a REAL array, dimension ( N*(N+1)/2 ). On entry, it's the upper or lower triangular matrix A, packed columnwise in a linear array. The j-th column of A is stored in AP like this:
- if
UPLO = 'U',AP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; - if
UPLO = 'L',AP(i + (j-1)*(2n-j)/2) = A(i,j)forj<=i<=n.
A
A is a REAL array, dimension ( LDA, N ). On exit, it's the triangular matrix A.
- If
UPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. - If
UPLO = 'L', the leadingN-by-Nlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced.
literally do not expect the unreferenced triangle to be read, bestie.
LDA
LDA is INTEGER, the leading dimension of the array A. LDA >= max(1,N).
INFO
INFO is INTEGER:
= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 103 of file stpttr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
sign-off: this page is from LAPACK Version 3.12.0, source/header path /home/abui...RC/stpttr.f(3), and since it was generated automatically there's no separate date printed on the page. π«Άβ¨
π¦ 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