DPTTRSV(l)
DPTTRSV π
okay so bestie, welcome to the DPTTRSV page β that's a LAPACK routine, version 2.0, and she's a real one. this is the l manual page, iykyk. β¨
πΈ NAME πΈ
DPTTRSV β she solves one of the triangular systems L**T* X = B, or L * X = B, π
β¨ SYNOPSIS β¨
SUBROUTINE DPTTRSV( TRANS, N, NRHS, D, E, B, LDB, INFO )
CHARACTER TRANS
INTEGER INFO, LDB, N, NRHS
DOUBLE PRECISION D( * )
DOUBLE PRECISION B( LDB, * ), E( * )
π¦ PURPOSE π¦
so like, DPTTRSV solves one of the triangular systems
L**T* X = B, or L * X = B, where L is the Cholesky factor of a
Hermitian positive
definite tridiagonal matrix A such that
A = L*D*L**H (computed by DPTTRF).
no cap, that's the whole vibe. L is the Cholesky factor of a Hermitian positive definite tridiagonal matrix A, and A = L*D*L**H, which got computed by DPTTRF earlier. π«Ά
π ARGUMENTS π
TRANS(input)CHARACTERβ specifies the form of the system of equations, bestie. pick your fighter:= 'N':L * X = B(No transpose)= 'T':L**T * X = B(Transpose)
N(input)INTEGERβ the order of the tridiagonal matrix A. and like,N >= 0, obviously. πNRHS(input)INTEGERβ the number of right hand sides, aka the number of columns of the matrix B.NRHS >= 0. periodt.D(input)REALarray, dimension(N)β the n diagonal elements of the diagonal matrix D, straight from the factorization computed byDPTTRF. iconic. πE(input)COMPLEXarray, dimension(N-1)β the (n-1) off-diagonal elements of the unit bidiagonal factor U or L from the factorization computed byDPTTRF(seeUPLO). yes bestie,N-1, notN. don't come for me.B(input/output)COMPLEXarray, dimension(LDB,NRHS)β on entry, the right hand side matrix B. on exit? the solution matrix X. she ate and left no crumbs. π₯LDB(input)INTEGERβ the leading dimension of the array B.LDB >= max(1,N). fr fr.INFO(output)INTEGERβ the receipts:= 0:successful exit π< 0:ifINFO = -i, the i-th argument had an illegal value π
heads up bestie: ifINFOcomes back negative, something you passed in was illegal β the-itells you which argument was the problem. that's not a vibe, that's a bug in your call. π
k byeee, go solve some triangular systems π β this one's a modified LAPACK routine, dated 12 May 1997, mwah π§βπ
π¦ 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