ZTRTTP(3)
π NAME π
Bestie, this is ZTRTTP(3) from the Library Functions Manual β the source file is chillinβ at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ztrttp.f. Itβs giving βcopy a triangular matrix from full format to packed formatβ energy, and honestly? Iconic.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ZTRTTP (uplo, n, a, lda, ap, info)β ZTRTTP copies a triangular matrix from the standard full format (TR) to the standard packed format (TP).
π¦ Function/Subroutine Documentation π¦
Okay so hereβs the actual signature, character-for-character, no cap:
subroutine ZTRTTP (character uplo, integer n, complex*16, dimension( lda, *
) a, integer lda, complex*16, dimension( * ) ap, integer info)
This routineβs whole personality is: ZTRTTP copies a triangular matrix from the standard full format (TR) to the standard packed format (TP). Periodt.
πΈ Purpose πΈ
The purpose block is literally serving: ZTRTTP copies a triangular matrix A from full format (TR) to standard packed format (TP). Thatβs the quest, bestie. Go off.
π Parameters π
UPLOβUPLO is CHARACTER*1= 'U': A is upper triangular;= 'L': A is lower triangular.
NβN is INTEGERβ the order of the matricesAPandA.N >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). On entry, this is the triangular matrixA. IfUPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingN-by-Nlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. Slay.LDAβLDA is INTEGERβ the leading dimension of the arrayA.LDA >= max(1,N). Respect the boundary, bestie.APβAP is COMPLEX*16 array, dimension ( N*(N+1)/2 ). On exit, it holds the upper or lower triangular matrixA, packed columnwise in a linear array. Thej-th column ofAis stored in the arrayAPas 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.
- if
INFOβINFO is INTEGER= 0: successful exit< 0: if INFO = -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 103 of file ztrttp.f.
π Author (Doxygenβs lil note) π
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the tea. π LAPACK Version 3.12.0, from /home/abui...RC/ztrttp.f(3) β go forth and pack those triangles, bestie. πβ¨
π¦ 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