PDDTTRF(l)
π NAME π
okay so bestie, PDDTTRF β she's a whole LAPACK girlie and what she does is compute a LU factorization of an N-by-N real tridiagonal diagonally dominant-like distributed matrix A(1:N, JA:JA+N-1). that's the vibe. that's the whole job. periodt β¨
π¦ SYNOPSIS π¦
SUBROUTINE PDDTTRF( N, DL, D, DU, JA, DESCA, AF, LAF, WORK, LWORK, INFO
)
INTEGER INFO, JA, LAF, LWORK, N
INTEGER DESCA( * )
DOUBLE PRECISION AF( * ), D( * ), DL( * ), DU( * ), WORK( *
)
like look at her. all those arguments. she's serving range, she's serving parameters π
πΈ PURPOSE πΈ
okay so real talk β PDDTTRF computes a LU factorization of an N-by-N real tridiagonal diagonally dominant-like distributed matrix A(1:N, JA:JA+N-1).
Reordering is used to increase parallelism in the factorization. slay, more parallelism, we love to see it π₯
but here's the tea bestie, and it's important tea: this reordering results in factors that are DIFFERENT from those produced by equivalent sequential codes. not a little different. DIFFERENT. so:
π¨ those factors CANNOT be used directly by users. do not pass go. do not collect $200. do not hand them to your other routines expecting normal LU factors.
however β and this is the part where she comes through π
β they can be used in subsequent calls to PDDTTRS to solve linear systems. so the factors aren't useless, they're just specialized. iykyk. main character energy fr fr.
β¨ the factorization has this form β¨
P A(1:N, JA:JA+N-1) P^T = L U
where:
Uis a tridiagonal upper triangular matrixLis tridiagonal lower triangularPis a permutation matrix
three little icons working together π«Ά the way that P shows up on both sides, we love a symmetric sandwich, no cap.
lowkey iconic, highkey essential. go forth and factor responsibly, bestie π§ββοΈπ
this was LAPACK routine version 1.5, dated 12 May 1997 β yes she's vintage, yes she still ate πβ
π¦ 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