PDDBTRSV(l)
π PDDBTRSV(l) β bestie edition π
okay so we're doing LAPACK routine, version 1.5, and this one is literally called PDDBTRSV β she's a Fortran subroutine, she's giving linear algebra, she's that girl. sit down, grab a strawberry π, we're solving systems.
β¨ NAME β¨
PDDBTRSV β solves a banded triangular system of linear equations, specifically:
A(1:N, JA:JA+N-1) * X = B(IB:IB+N-1, 1:NRHS)
periodt. that's the whole job. π
π¦ SYNOPSIS π¦
SUBROUTINE PDDBTRSV( UPLO, TRANS, N, BWL, BWU, NRHS, A, JA, DESCA, B,
IB, DESCB, AF, LAF, WORK, LWORK, INFO )
CHARACTER TRANS, UPLO
INTEGER BWL, BWU, IB, INFO, JA, LAF, LWORK, N, NRHS
INTEGER DESCA( * ), DESCB( * )
DOUBLE PRECISION A( * ), AF( * ), B( * ), WORK( * )
look at her. seventeen arguments. she's high maintenance but she delivers. π
πΈ PURPOSE πΈ
PDDBTRSV solves a banded triangular system of linear equations, and you get to pick which flavour:
A(1:N, JA:JA+N-1) * X = B(IB:IB+N-1, 1:NRHS)
or
A(1:N, JA:JA+N-1)^T * X = B(IB:IB+N-1, 1:NRHS)
where A(1:N, JA:JA+N-1) is a banded triangular matrix factor produced by the Gaussian elimination code PD@(dom_pre)BTRF, and it's stored in A(1:N,JA:JA+N-1) and AF.
the matrix sitting in A(1:N, JA:JA+N-1) is either upper or lower triangular, depending on UPLO β you decide, bestie, it's your call. and whether we solve A(1:N, JA:JA+N-1) or A(1:N, JA:JA+N-1)^T is dictated by the user through the parameter TRANS. main character energy: the user is always in charge. π
π¨ WAIT. Real talk. Routine PDDBTRF MUST be called first. Like, not optional. Not "if you feel like it". MUST. if you skip it, you're on your own and nobody's coming to save you. π
that's the whole page, no cap β every arg, every *, every capital letter, untouched and accounted for π
this was LAPACK routine, version 1.5, dated 12 May 1997 β yeah she's vintage, she's an icon, she's been slaying since before you were born πβ¨
π¦ 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