PCDBSV(l)

πŸ“¦ version 1.5, in ubuntu jammy

πŸ’– PCDBSV πŸ’– (that's the l LAPACK manual page, bestie)

okay so real talk β€” this is PCDBSV from the LAPACK routine fam, version 1.5 energy. it's giving linear algebra solver, it's giving distributed matrix, it's giving we do NOT pivot around here. let's get into it πŸŽ€


✨ NAME ✨

PCDBSV β€” solves a system of linear equations

A(1:N, JA:JA+N-1) * X = B(IB:IB+N-1, 1:NRHS)

periodt. that's the whole assignment. πŸ’…


🌸 SYNOPSIS 🌸

SUBROUTINE PCDBSV( N, BWL, BWU, NRHS, A, JA, DESCA, B, IB, DESCB, WORK,
                   LWORK, INFO )

    INTEGER        BWL, BWU, IB, INFO, JA, LWORK, N, NRHS

    INTEGER        DESCA( * ), DESCB( * )

    COMPLEX        A( * ), B( * ), WORK( * )

look at all those arguments. thirteen of them. she's high maintenance and we love that for her 🫢


πŸ¦‹ PURPOSE πŸ¦‹

so PCDBSV 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 an N-by-N complex banded, diagonally dominant-like, distributed matrix with bandwidth BWL, BWU. yes bestie, banded β€” she's got structure, she's not out here being a full dense mess 🌈

Gaussian elimination without pivoting is used to factor a reordering of the matrix into L U. no cap, no pivots, that's the whole bit. πŸ’€

if you want the actual deets on the factorization and the solve, go read PCDBTRF and PCDBTRS. they're the ones doing the heavy lifting iykyk πŸ‘‘


lowkey important: PCDBSV is just the vibe-curated combo of factor-then-solve. the manpage says to see PCDBTRF and PCDBTRS for details, and bestie, it means it β€” go look at them. πŸ“š

okay that's the whole page, mwah πŸ’‹

this was LAPACK routine version 1.5, dated 12 May 1997. iconic era, honestly. πŸŽ€βœ¨πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from