CTPTRS(3)
CTPTRS(3) π β¨
okay bestie, welcome to the CTPTRS(3) manual page from the Library Functions Manual β yes, manual name folded in near the top like a cute little header bow. π This is the LAPACK page for the CTPTRS subroutine, and the source file path is right below. No cap.
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ctptrs.f
That's literally the whole NAME section β it's giving βthe file is the nameβ energy. π But also: this is the manual for CTPTRS(3), and CTPTRS is the main character here.
π SYNOPSIS π
Functions/Subroutines
subroutine CTPTRS (uplo, trans, diag, n, nrhs, ap, b, ldb, info)
CTPTRS
π Function/Subroutine Documentation π
subroutine CTPTRS (character uplo, character trans, character diag, integer
n, integer nrhs, complex, dimension( * ) ap, complex, dimension( ldb, *
) b, integer ldb, integer info)
CTPTRS
πΈ Purpose πΈ
okay so CTPTRS 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. It also does a check to verify that A is nonsingular β like a vibe check, but for your matrix. β¨
π¦ Parameters π¦
π UPLO
UPLOisCHARACTER*1β tells us which triangleAis:= 'U':Ais upper triangular;= 'L':Ais lower triangular.
π TRANS
TRANSisCHARACTER*1β specifies 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
DIAGisCHARACTER*1β= 'N':Ais non-unit triangular;= 'U':Ais unit triangular.
π N
NisINTEGERβ the order of the matrixA.N >= 0.
π NRHS
NRHSisINTEGERβ the number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.
π AP
APisCOMPLEX array, dimension (N*(N+1)/2)β 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)*(2*n-j)/2) = A(i,j) for j<=i<=n.
π B
BisCOMPLEX array, dimension (LDB,NRHS)β on entry, the right hand side matrixB. On exit, ifINFO = 0, the solution matrixX.
π LDB
LDBisINTEGERβ the leading dimension of the arrayB.LDB >= max(1,N).
π INFO
INFOisINTEGERβ= 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 ctptrs.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π sign-off: this page is from LAPACK Version 3.12.0, footer path /home/abui...RC/ctptrs.f(3). Date? The footer didn't print one, so we're not inventing it, bestie β but the version and source path are locked in. Periodt. π«Άβ¨
π¦ 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