PSPBTRS(l)
β¨ PSPBTRS β¨
okay so bestie, welcome to PSPBTRS(l) β a LAPACK routine, version 1.5, and she is very specific about what she does. Sit down, grab a strawberry π, and let's get into it.
πΈ NAME πΈ
PSPBTRS β solve a system of linear equations
A(1:N, JA:JA+N-1) * X = B(IB:IB+N-1, 1:NRHS)
that's the whole vibe. one equation. she solves it. periodt.
π SYNOPSIS π
SUBROUTINE PSPBTRS( UPLO, N, BW, NRHS, A, JA, DESCA, B, IB, DESCB, AF,
LAF, WORK, LWORK, INFO )
CHARACTER UPLO
INTEGER BW, IB, INFO, JA, LAF, LWORK, N, NRHS
INTEGER DESCA( * ), DESCB( * )
REAL A( * ), AF( * ), B( * ), WORK( * )
look at all those arguments. she's high maintenance and she's worth it π
π PURPOSE π
PSPBTRS solves a system of linear equations
A(1:N, JA:JA+N-1) * X = B(IB:IB+N-1, 1:NRHS)
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 PSPBTRF. π¦
A(1:N, JA:JA+N-1) is an N-by-N real banded symmetric positive definite distributed matrix with bandwidth BW. yes, all of that. 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'*U or L*L'
as computed by PSPBTRF.
π¨ THE ONE RULE, NO CAP: routine PSPBTRF MUST be called first. not "should", not "ideally", not "whenever you feel like it" β MUST. do not skip this step bestie, it's giving undefined behaviour and nobody wants that π
and that's the whole page, fr fr. short, sweet, and completely iconic. π
This was PSPBTRS(l) from LAPACK version 1.5, dated 12 May 1997 β yes she's vintage, she's an elder, and 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