SRC/cgetrs.f(3)
π NAME π
okay so bestie, this page is SRC/cgetrs.f(3) from the Library Functions Manual β and itβs literally all about CGETRS, the LAPACK subroutine that solves linear systems using the LU factorization computed by CGETRF. β¨
π SYNOPSIS π
π«Ά Functions/Subroutines π«Ά
subroutine cgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info)CGETRS
π¦ Function/Subroutine Documentation π¦
β¨ subroutine 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 is the main character here. π
π 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. no cap, thatβs the whole vibe. π«Ά
π Parameters π
TRANSβTRANSisCHARACTER*1and 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βNisINTEGER. The order of the matrixA.N >= 0.NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AβAisCOMPLEX array, dimension (LDA,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byCGETRF.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIVisINTEGER array, dimension (N). The pivot indices fromCGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).BβBisCOMPLEX array, dimension (LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOβINFOisINTEGER.= 0: successful exit< 0: if INFO = -i, the i-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 cgetrs.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
byeee bestie π this iconic page is from LAPACK Version 3.12.0 and lives at SRC/cgetrs.f(3) β mwah π
π¦ 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