PDGBSV(l)

πŸ“¦ version 1.5, in ubuntu jammy

πŸ’– PDGBSV πŸ’–

okay so bestie, welcome to PDGBSV from the LAPACK girlies β€” routine version 1.5, no cap. ✨


🌸 NAME 🌸

PDGBSV β€” solve a system of linear equations

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

that's it, that's the whole job. she solves. she slays. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

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

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

    INTEGER        DESCA( * ), DESCB( * ), IPIV( * )

    DOUBLE PRECISION A( * ), B( * ), WORK( * )

look at her. thirteen arguments. absolutely iconic. πŸ‘‘


πŸ¦‹ PURPOSE πŸ¦‹

so like, PDGBSV solves a system of linear equations, bestie β€” the main character equation itself being

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 real banded distributed matrix with bandwidth BWL, BWU. banded. distributed. living her best life across the grid. 🌈

and the way she does it?? Gaussian elimination with pivoting β€” she factors a reordering of the matrix into P L U. reordering. pivoting. the whole little choreography. πŸ’ƒ

if you want the actual tea on how that goes down, see PDGBTRF and PDGBTRS for details. 🫢


anyway that's the page!! this was LAPACK routine version 1.5, dated 12 May 1997 β€” an absolute vintage queen, still serving linear algebra after all these years. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ‘‘πŸŒˆβ­

πŸ“¦ where this page comes from