SRC/sgetrs.f(3)
β¨ NAME β¨
SRC/sgetrs.f β okay so this page is from the Library Functions Manual, and it's literally all about the sgetrs subroutine, bestie. That's the file, that's the vibe, we're in it. π
π¦ SYNOPSIS π¦
π Functions/Subroutines π
subroutine sgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info)
SGETRS
πΈ Function/Subroutine Documentation πΈ
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. No cap, that's the whole point of this icon. π«Ά
π Parameters π
TRANS
TRANS is CHARACTER*1. It specifies the form of the system of equations, and the options are giving very specific:
= 'N': A * X = B (No transpose)= 'T': A**T* X = B (Transpose)= 'C': A**T* X = B (Conjugate transpose = Transpose)
N
N is INTEGER. It's the order of the matrix A. Constraint: N >= 0. Respect the boundary, bestie. β¨
NRHS
NRHS is INTEGER. It's the number of right hand sides, i.e., the number of columns of the matrix B. Constraint: NRHS >= 0.
A
A is REAL array, dimension (LDA,N). It holds the factors L and U from the factorization A = P*L*U as computed by SGETRF. This is the main character matrix energy. π
LDA
LDA is INTEGER. It's the leading dimension of the array A. Constraint: LDA >= max(1,N).
IPIV
IPIV is INTEGER array, dimension (N). These are the pivot indices from SGETRF; for 1<=i<=N, row i of the matrix was interchanged with row IPIV(i). Pivot tea, served fresh. π
B
B is REAL array, dimension (LDB,NRHS). On entry, it's the right hand side matrix B. On exit, it's the solution matrix X. Glow-up moment fr fr. π¦
LDB
LDB is INTEGER. It's the leading dimension of the array B. Constraint: LDB >= max(1,N).
INFO
INFO is INTEGER. Exit status tea:
= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
If you see a negative INFO, something got typed wrong and the routine is not subtle about it. π
π Author π
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 120 of file sgetrs.f.
π Author (auto-generated) π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π that's the whole page, bestie β LAPACK Version 3.12.0, SRC/sgetrs.f(3), source and version noted with love. πβ¨
π¦ 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