PCPTTRF(l)
๐ PCPTTRF ๐
the LAPACK routine (version 1.5) โ yes bestie, lowercase (l) in the man page name, that's just how the LAPACK girlies do it ๐
โจ NAME โจ
PCPTTRF</purgle> โ she computes a Cholesky factorization of an N-by-N complex tridiagonal symmetric positive definite distributed matrix A(1:N, JA:JA+N-1). That's the whole job. Iconic, honestly. ๐
๐ธ SYNOPSIS ๐ธ
SUBROUTINE PCPTTRF( N, D, E, JA, DESCA, AF, LAF, WORK, LWORK, INFO )
INTEGER INFO, JA, LAF, LWORK, N
INTEGER DESCA( * )
COMPLEX AF( * ), E( * ), WORK( * )
REAL D( * )
the cast list, fr fr:
N,JA,LAF,LWORK,INFOโ all plain oldINTEGERs ๐งฎDESCA( * )โ anINTEGERarray, the descriptor bestieAF( * ),E( * ),WORK( * )โCOMPLEXarrays, sparkling โจD( * )โ the onlyREALone in the group, she's built different ๐
๐ฆ PURPOSE ๐ฆ
okay so. PCPTTRF computes a Cholesky factorization of an N-by-N complex tridiagonal symmetric positive definite distributed matrix A(1:N, JA:JA+N-1).
The way that it uses reordering to increase parallelism in the factorization?? obsessed. ๐ซถ
โ ๏ธ but here's the tea: this reordering means the factors are DIFFERENT from the ones equivalent sequential codes produce. like, literally not the same. ๐
And these factors cannot be used directly by users โ nope, not even you, bestie. however, they can be used in subsequent calls to PCPTTRS to solve linear systems. so like, they're not useless, they're justโฆ reserved for the sequel. ๐
The factorization has the form
P A(1:N, JA:JA+N-1) P^T = U' D U or
P A(1:N, JA:JA+N-1) P^T = L D L',
where:
Uis a tridiagonal upper triangular matrix โฌ๏ธLis tridiagonal lower triangular โฌ๏ธPis a permutation matrix ๐
periodt. that's the math, that's the vibe, that's the whole page. ๐
sign-off time ๐
this was LAPACK version 1.5, dated 12 May 1997 โ yes she's a vintage queen and she ate, no cap ๐โจ mwah, go call PCPTTRS next bestie ๐๐
๐ฆ where this page comes from
- ubuntu jammy: scalapack-doc 1.5-11
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms