getrs(3)
๐
getrs(3) โ LAPACK's triangular solve bestie has entered the chat โจ
๐ธ NAME ๐ธ
getrs โ getrs: triangular solve using factor. That's the name, and it ate. ๐
๐ SYNOPSIS ๐
๐ง Functions
subroutine cgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info)โCGETRSsubroutine dgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info)โDGETRSsubroutine sgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info)โSGETRSsubroutine zgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info)โZGETRS
๐ Detailed Description ๐
This section is short and sweet in the source โ it rolls straight into Function Documentation. So consider this your lil' hallway pass, bestie: the real subroutine tea is right below. ๐ซถ
๐ Function Documentation ๐
๐ซ cgetrs โ CGETRS
subroutine cgetrs (character trans, integer n, integer nrhs, complex,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
complex, dimension( ldb, * ) b, integer ldb, integer info)
CGETRS
๐ฏ Purpose
CGETRS solves a system of linear equations
A * X = B, A**T * X = B, or A**H * X = B
with a general N-by-N matrix A using the LU factorization computed by CGETRF. Iconic. โจ
๐งฎ Parameters
TRANSโCHARACTER*1. Specifies the form of the system of equations:= 'N': A * X = B (No transpose)= 'T': A**T * X = B (Transpose)= 'C': A**H * X = B (Conjugate transpose)
NโINTEGER. The order of the matrixA.N >= 0.NRHSโINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AโCOMPLEXarray, dimension(LDA,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byCGETRF.LDAโINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVโINTEGERarray, dimension(N). The pivot indices fromCGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).BโCOMPLEXarray, dimension(LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX.LDBโINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOโINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
Heads up: that INFO < 0 line means an argument was illegal โ don't ignore it, bestie. ๐
๐ซถ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ Definition
Definition at line 120 of file cgetrs.f.
๐ซ dgetrs โ DGETRS
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
๐ฏ 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. Slay. ๐
๐งฎ Parameters
TRANSโCHARACTER*1. Specifies the form of the system of equations:= 'N': A * X = B (No transpose)= 'T': A**T* X = B (Transpose)= 'C': A**T* X = B (Conjugate transpose = Transpose)
NโINTEGER. The order of the matrixA.N >= 0.NRHSโINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AโDOUBLE PRECISIONarray, dimension(LDA,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byDGETRF.LDAโINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVโINTEGERarray, dimension(N). The pivot indices fromDGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).BโDOUBLE PRECISIONarray, dimension(LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX.LDBโINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOโINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
Heads up: same energy as above โ INFO < 0 is your โgirl, check that argumentโ signal. ๐
๐ซถ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ Definition
Definition at line 120 of file dgetrs.f.
๐ซ sgetrs โ SGETRS
subroutine sgetrs (character trans, integer n, integer nrhs, real,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, real,
dimension( ldb, * ) b, integer ldb, integer info)
SGETRS
๐ฏ Purpose
SGETRS 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 SGETRF. Obsessed. ๐ซถ
๐งฎ Parameters
TRANSโCHARACTER*1. Specifies the form of the system of equations:= 'N': A * X = B (No transpose)= 'T': A**T* X = B (Transpose)= 'C': A**T* X = B (Conjugate transpose = Transpose)
NโINTEGER. The order of the matrixA.N >= 0.NRHSโINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AโREALarray, dimension(LDA,N). The factorsLandUfrom the factorizationA = P*L*Uas computed bySGETRF.LDAโINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVโINTEGERarray, dimension(N). The pivot indices fromSGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).BโREALarray, dimension(LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX.LDBโINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOโINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
Heads up: INFO < 0 is not a vibe โ it literally means an argument had an illegal value. ๐ญ
๐ซถ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ Definition
Definition at line 120 of file sgetrs.f.
๐ซ zgetrs โ ZGETRS
subroutine zgetrs (character trans, integer n, integer nrhs, complex*16,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
complex*16, dimension( ldb, * ) b, integer ldb, integer info)
ZGETRS
๐ฏ Purpose
ZGETRS solves a system of linear equations
A * X = B, A**T * X = B, or A**H * X = B
with a general N-by-N matrix A using the LU factorization computed by ZGETRF. Main character subroutine behavior. ๐โจ
๐งฎ Parameters
TRANSโCHARACTER*1. Specifies the form of the system of equations:= 'N': A * X = B (No transpose)= 'T': A**T * X = B (Transpose)= 'C': A**H * X = B (Conjugate transpose)
NโINTEGER. The order of the matrixA.N >= 0.NRHSโINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AโCOMPLEX*16array, dimension(LDA,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byZGETRF.LDAโINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVโINTEGERarray, dimension(N). The pivot indices fromZGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).BโCOMPLEX*16array, dimension(LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX.LDBโINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOโINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
Heads up: INFO < 0 means an illegal argument โ address it, bestie, no cap. ๐
๐ซถ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ Definition
Definition at line 120 of file zgetrs.f.
๐ Author
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole getrs(3) page, bestie โ brought to you by LAPACK, Version 3.12.0, and the footer tag getrs(3). Stay slaying those triangular solves. ๐โจ
๐ฆ 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