DTPTTR(3)
π DTPTTR(3) π
ok so bestie, grab a strawberry π β we're diving into the LAPACK life. This page lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dtpttr.f and honestly? it's giving "tiny file, huge destiny." π
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
subroutine DTPTTR (uplo, n, ap, a, lda, info)β the whole point of this page: DTPTTR copies a triangular matrix from the standard packed format (TP) to the standard full format (TR). no cap, that's literally the entire job description.
π Function/Subroutine Documentation π
subroutine DTPTTR (character uplo, integer n, double precision, dimension( * ) ap, double precision, dimension( lda, * ) a, integer lda, integer info)
DTPTTR copies a triangular matrix from the standard packed format (TP) to the standard full format (TR). that's it, that's the mission. π«Ά
π¦ Purpose π¦
!>
!> DTPTTR copies a triangular matrix A from standard packed format (TP)
!> to standard full format (TR).
!>
yes ma'am β packed in, full out. glow-up complete. β¨
π Parameters π
UPLO
!> UPLO is CHARACTER*1
!> = 'U': A is upper triangular.
!> = 'L': A is lower triangular.
!>
character, one (1) single char. 'U' means upper triangular, 'L' means lower triangular. pick your fighter. π
N
!> N is INTEGER
!> The order of the matrix A. N >= 0.
!>
an integer, the order of matrix A, and it has to be N >= 0. no negativity allowed in this house. π«
AP
!> AP is DOUBLE PRECISION array, dimension ( N*(N+1)/2 ),
!> On entry, 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(i + (j-1)*j/2) = A(i,j) for 1<=i<=j;
!> if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.
!>
a DOUBLE PRECISION array of dimension ( N*(N+1)/2 ) β the input, bestie. on entry it's the upper or lower triangular matrix A, packed columnwise into a linear array. the j-th column of A gets stored like this:
- if
UPLO = 'U', thenAP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; - if
UPLO = 'L', thenAP(i + (j-1)*(2n-j)/2) = A(i,j)forj<=i<=n.
it's giving "index math is my love language." π₯
A
!> A is DOUBLE PRECISION array, dimension ( LDA, N )
!> On exit, the triangular matrix A. If UPLO = 'U', the leading
!> N-by-N upper triangular part of A contains the upper
!> triangular part of the matrix A, and the strictly lower
!> triangular part of A is not referenced. If UPLO = 'L', the
!> leading N-by-N lower triangular part of A contains the lower
!> triangular part of the matrix A, and the strictly upper
!> triangular part of A is not referenced.
!>
a DOUBLE PRECISION array, dimension ( LDA, N ). on exit this is the triangular matrix β the output, the main character. π
- if
UPLO = 'U': the leading N-by-N upper triangular part ofAholds the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced (don't touch it, don't look at it π); - if
UPLO = 'L': the leading N-by-N lower triangular part ofAholds the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced (same energy, flipped π ).
LDA
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= max(1,N).
!>
integer, the leading dimension of the array A, and it must satisfy LDA >= max(1,N). rules are rules, bestie. π
INFO
!> INFO is INTEGER
!> = 0: successful exit
!> < 0: if INFO = -i, the i-th argument had an illegal value
!>
integer, the vibe check at the end:
= 0: successful exit π slay!< 0: ifINFO = -i, the i-th argument had an illegal value π somebody passed a bad arg.
π§ Author π§
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
(the academic avengers, fr fr π«Ά)
β Definition β
Definition at line 103 of file dtpttr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. (so don't come for me about typos, a robot wrote the original π)
ok that's the whole page bestie β every flag, every formula, nothing skipped. go forth and pack your triangles. π
LAPACK Β· Version 3.12.0 Β· /home/abui...RC/dtpttr.f(3) β mwah, that's the sign-off, ily, 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