/home/abui...RC/dgesv.f(3)
π /home/abui...RC/dgesv.f(3)
okay bestie, welcome to the Library Functions Manual page for /home/abui...RC/dgesv.f(3) β yes that's the whole path, we don't gatekeep here β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dgesv.f
that's it. that's the name. she's long, she's got slashes, she's iconic π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine DGESV (n, nrhs, a, lda, ipiv, b, ldb, info)
π Function/Subroutine Documentation π
π subroutine DGESV (integer n, integer nrhs, double precision, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, double precision, dimension( ldb, * ) b, integer ldb, integer info)
β¨ Purpose:
!>
!> DGESV 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.
!>
!> 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. The factored form of A is then used to solve the
!> system of equations A * X = B.
!>
so basically π«Ά DGESV solves 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. she factors A using the LU decomposition with partial pivoting and row interchanges, giving you A = P * L * U β where P is a permutation matrix, L is unit lower triangular, and U is upper triangular. then that factored form gets used to solve A * X = B. no cap, that's the whole vibe π
π Parameters
NβNis INTEGER. it's the number of linear equations, i.e. the order of the matrixA. must beN >= 0.NRHSβNRHSis INTEGER. the number of right hand sides, i.e. the number of columns of the matrixB. must beNRHS >= 0.AβAis DOUBLE PRECISION array, dimension(LDA,N). on entry, it's the N-by-N coefficient matrixA. on exit, it holds the factorsLandUfrom the factorizationA = P*L*Uβ and pssst, the unit diagonal elements ofLare not stored πLDAβLDAis INTEGER. the leading dimension of the arrayA. must beLDA >= max(1,N).IPIVβIPIVis INTEGER array, dimension(N). the pivot indices that define the permutation matrixPβ rowiof the matrix was interchanged with rowIPIV(i). tracking the drama, one swap at a time πBβBis DOUBLE PRECISION array, dimension(LDB,NRHS). on entry, it's the N-by-NRHS matrix of right hand side matrixB. on exit, ifINFO = 0, it's the N-by-NRHS solution matrixX. glow up β¨LDBβLDBis INTEGER. the leading dimension of the arrayB. must beLDB >= max(1,N).INFOβINFOis INTEGER. the vibe check:= 0: successful exit π< 0: ifINFO = -i, the i-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. she tried, bestie π
β Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 123 of file dgesv.f.
π§ Author
Generated automatically by Doxygen for LAPACK from the source code. (not me writing this by hand, the robots did it, and honestly? slay π€π )
π«Ά bye bestie! this page is from LAPACK, Version 3.12.0, and it lives at /home/abui...RC/dgesv.f(3) β go solve something linear, periodt. π₯π
π¦ 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