ZTPTRS(3)
okay bestie, welcome to the ztptrs.f(3) page β yes, from the Library Functions Manual β and no cap, this is the packed-triangular-system solver lore you didnβt know you needed. π
β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ztptrs.f
β¨ SYNOPSIS β¨
Hereβs the group-chat receipt, bestie:
π§ Functions/Subroutines π§
subroutine ZTPTRS (uplo, trans, diag, n, nrhs, ap, b, ldb, info)
ZTPTRS
π Function/Subroutine Documentation π
π¦ subroutine ZTPTRS π¦
subroutine ZTPTRS (character uplo, character trans, character diag, integer
n, integer nrhs, complex*16, dimension( * ) ap, complex*16, dimension(
ldb, * ) b, integer ldb, integer info)
ZTPTRS
π Purpose π
Okay so ZTPTRS solves a triangular system of the form
A * X = B, A**T * X = B, or A**H * X = B,
where A is a triangular matrix of order N stored in packed format, and B is an N-by-NRHS matrix. A check is made to verify that A is nonsingular. slay π
π Parameters π
UPLOβ itβs aCHARACTER*1, and it tells you which triangle is the main character:= 'U':Ais upper triangular;= 'L':Ais lower triangular.
TRANSβCHARACTER*1, specifying the form of the system of equations:= 'N':A * X = B(No transpose)= 'T':A**T * X = B(Transpose)= 'C':A**H * X = B(Conjugate transpose)
DIAGβCHARACTER*1, the diagonal vibe check:= 'N':Ais non-unit triangular;= 'U':Ais unit triangular.
NβINTEGER, the order of the matrixA.N >= 0. no negative-order nonsense, periodt π©΅NRHSβINTEGER, the number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.APβCOMPLEX*16array, dimension(N*(N+1)/2). Itβs 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)for1<=i<=j; - if
UPLO = 'L',AP(i + (j-1)*(2*n-j)/2) = A(i,j)forj<=i<=n.
- if
BβCOMPLEX*16array, dimension(LDB,NRHS). On entry, the right hand side matrixB. On exit, ifINFO = 0, the solution matrixX. iconic glow-up behavior β¨LDBβINTEGER, the leading dimension of the arrayB.LDB >= max(1,N).INFOβINTEGER, the receipts:= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: ifINFO = i, thei-th diagonal element ofAis zero, indicating that the matrix is singular and the solutionsXhave not been computed.
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 129 of file ztptrs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the whole page, bestie β LAPACK Version 3.12.0, /home/abui...RC/ztptrs.f(3), and no date listed in the footer, so weβre signing off with pure cute-terminal vibes. ππ
π¦ 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