PCPTTRF(l)

๐Ÿ“ฆ version 1.5, in ubuntu jammy

๐Ÿ’– 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 old INTEGERs ๐Ÿงฎ
  • DESCA( * ) โ€” an INTEGER array, the descriptor bestie
  • AF( * ), E( * ), WORK( * ) โ€” COMPLEX arrays, sparkling โœจ
  • D( * ) โ€” the only REAL one 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:

  • U is a tridiagonal upper triangular matrix โฌ†๏ธ
  • L is tridiagonal lower triangular โฌ‡๏ธ
  • P is 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