SRC/dgetrs.f(3)
π SRC/dgetrs.f(3) π
okay bestie, this page is from LAPACK's Library Functions Manual and it's all about the DGETRS routine. no cap, it's a little linear-algebra main character moment β¨
π NAME π
SRC/dgetrs.f β that's the name on the page, periodt. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info)
DGETRS
π§ Function/Subroutine Documentation π§
subroutine dgetrs (character trans, integer n, integer nrhs, double
precision, dimension( lda, * ) a, integer lda, integer, dimension( * )
ipiv, double precision, dimension( ldb, * ) b, integer ldb, integer
info)
DGETRS β yes bestie, that's the routine name, and here's the tea. π΅
π Purpose π
DGETRS solves a system of linear equations
A * X = B or A**T * X = B
with a general N-by-N matrix A using the LU factorization computed by DGETRF. That's it, that's the whole slay. π
π Parameters π
TRANS
TRANSis aCHARACTER*1. It specifies the form of the system of equations, like a vibe check for the equation:
= 'N': A * X = B (No transpose)
= 'T': A**T* X = B (Transpose)
= 'C': A**T* X = B (Conjugate transpose = Transpose)
N
Nis anINTEGER: the order of the matrixA.N >= 0.
NRHS
NRHSis anINTEGER: the number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.
A
Ais aDOUBLE PRECISIONarray, dimension(LDA,N). It holds the factorsLandUfrom the factorizationA = P*L*Uas computed byDGETRF.
LDA
LDAis anINTEGER: the leading dimension of the arrayA.LDA >= max(1,N).
IPIV
IPIVis anINTEGERarray, dimension(N): the pivot indices fromDGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).
B
Bis aDOUBLE PRECISIONarray, dimension(LDB,NRHS). On entry, it's the right hand side matrixB. On exit, it's the solution matrixX.
LDB
LDBis anINTEGER: the leading dimension of the arrayB.LDB >= max(1,N).
INFO
INFOis anINTEGER:= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 120 of file dgetrs.f.
π Author (the auto-gen one) π
Generated automatically by Doxygen for LAPACK from the source code.
and the footer sign-off bestie: LAPACK, Version 3.12.0, SRC/dgetrs.f(3) β that's the whole vibe, bye π (no separate date line on this footer)
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms