/home/abui...RC/sgesv.f(3)
π NAME π
Hii bestie! This is the sgesv.f(3) page from the Library Functions Manual, and itβs all about this file: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgesv.f β¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SGESV (n, nrhs, a, lda, ipiv, b, ldb, info)
π Function/Subroutine Documentation π
subroutine SGESV (integer n, integer nrhs, real, dimension( lda, * ) a,
integer lda, integer, dimension( * ) ipiv, real, dimension( ldb, * ) b,
integer ldb, integer info)
π₯ Purpose π₯
Okay so SGESV computes the solution to a real system of linear equations
A * X = B,
where A is an N-by-N matrix and X and B are N-by-NRHS matrices. Slay. π
The LU decomposition with partial pivoting and row interchanges is used to factor A as
A = P * L * U,
where P is a permutation matrix, L is unit lower triangular, and U is upper triangular. Then the factored form of A is used to solve the system of equations A * X = B. Periodt. β¨
πΈ Parameters πΈ
NβN is INTEGER. The number of linear equations, i.e., the order of the matrixA.N >= 0.NRHSβNRHS is INTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AβA is REAL array, dimension (LDA,N). On entry, theN-by-Ncoefficient matrixA. On exit, the factorsLandUfrom the factorizationA = P*L*U; the unit diagonal elements ofLare not stored.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). The pivot indices that define the permutation matrixP; rowiof the matrix was interchanged with rowIPIV(i).BβB is REAL array, dimension (LDB,NRHS). On entry, theN-by-NRHSmatrix of right hand side matrixB. On exit, ifINFO = 0, theN-by-NRHSsolution matrixX.LDBβLDB is INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOβINFO is INTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: ifINFO = i,U(i,i)is exactly zero. The factorization has been completed, but the factorUis exactly singular, so the solution could not be computed.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 123 of file sgesv.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Cute sign-off, bestie: the source/version is LAPACK Version 3.12.0, the footer page path is /home/abui...RC/sgesv.f(3), and the footer doesnβt list a date on this page. Byeee π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms