PZPTTRS(l)
β¨ PZPTTRS β¨
ok so bestie. welcome to PZPTTRS, a LAPACK routine, version 1.5 era, and she is lowkey the solver of your dreams. she solves a system of linear equations and honestly? she ate. π
π NAME π
PZPTTRS β solves a system of linear equations
A(1:N, JA:JA+N-1) * X = B(IB:IB+N-1, 1:NRHS)
like that's literally her whole job. periodt. π
πΈ SYNOPSIS πΈ
SUBROUTINE PZPTTRS( UPLO, N, NRHS, D, E, JA, DESCA, B, IB, DESCB, AF,
LAF, WORK, LWORK, INFO )
CHARACTER UPLO
INTEGER IB, INFO, JA, LAF, LWORK, N, NRHS
INTEGER DESCA( * ), DESCB( * )
COMPLEX*16 AF( * ), B( * ), E( * ), WORK( * )
DOUBLE PRECISION D( * )
ok look at all those arguments. she's thriving. that's a full roster. not one single parameter was left out, no cap. π«Ά
π¦ PURPOSE π¦
PZPTTRS solves a system of linear equations
where A(1:N, JA:JA+N-1) is the matrix used to produce the factors stored in A(1:N,JA:JA+N-1) and AF by PZPTTRF.
A(1:N, JA:JA+N-1) is an N-by-N complex tridiagonal symmetric positive definite distributed matrix. yes she said distributed, yes she said tridiagonal, yes she said symmetric positive definite β she contains multitudes π
Depending on the value of UPLO, A stores either U or L in the equn
A(1:N, JA:JA+N-1) = U'D *U or L*D L'
as computed by PZPTTRF. so like, whichever letter you picked, she's got you. π
β οΈ bestie listen to me very carefully: Routine PZPTTRF MUST be called first. not "should", not "maybe", not "whenever you feel like it". MUST. do not skip the prequel and then act surprised when everything falls apart. that's on you and not on her. ππ
that's the whole page, queen. no hidden lore, no secret extra flags, she's short and she's perfect and she knows it. β
β§ο½₯οΎ: β§ο½₯οΎ: this has been a LAPACK routine, version 1.5, dated 12 May 1997 β slay forever, the girlies stay classic β§ο½₯οΎ: β§ο½₯οΎ: ππ
π¦ 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