PSDTTRS(l)

πŸ“¦ version 1.5, in ubuntu jammy

✨ PSDTTRS(l) ✨

okay bestie, welcome to the LAPACK corner of the group chat πŸ’– this one is PSDTTRS, a routine from LAPACK version 1.5, and she is here to solve linear systems for you. no cap. 🫢


🌸 NAME 🌸

PSDTTRS β€” solve a system of linear equations

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

πŸŽ€ SYNOPSIS πŸŽ€

SUBROUTINE PSDTTRS( TRANS, N, NRHS, DL, D, DU, JA, DESCA, B, IB, DESCB,
                    AF, LAF, WORK, LWORK, INFO )

    CHARACTER       TRANS

    INTEGER         IB, INFO, JA, LAF, LWORK, N, NRHS

    INTEGER         DESCA( * ), DESCB( * )

    REAL            AF( * ), B( * ), D( * ), DL( * ), DU( * ), WORK( * )

πŸ¦‹ PURPOSE πŸ¦‹

so like, PSDTTRS solves a system of linear equations, and it's giving two flavours πŸ‘‘

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

or

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 PSDTTRF.

A(1:N, JA:JA+N-1) is an N-by-N real tridiagonal diagonally dominant-like distributed matrix. lowkey a mouthful, but that's the vibe. ✨

πŸ’€ not me reminding you again but: routine PSDTTRF MUST be called first. like, MUST MUST. the factors gotta exist before you go solving anything, bestie. main character energy requires setup. πŸ”₯

and that's the whole page, periodt πŸ’… this was PSDTTRS(l) from LAPACK version 1.5, dated 12 May 1997 β€” iconic behaviour, honestly, she's been slaying since the nineties and she's still not tired πŸ‘‘πŸŒΊ bye bestie, go solve something πŸ¦‹πŸ’–

πŸ“¦ where this page comes from