DPOTRS(3)
π¦ DPOTRS(3) β the LAPACK girlies' guide to solving A*X = B π¦
ok so this page lives in the Library Functions Manual section 3, and it's file dpotrs.f (full path era: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dpotrs.f). bestie, we're getting into linear algebra territory and honestly? it slaps.
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dpotrs.f
that's the file, that's the vibe, that's the whole identity π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DPOTRS (uplo, n, nrhs, a, lda, b, ldb, info)
DPOTRS
like, that's the whole call. seven-ish args, one dream π«Ά
π Function/Subroutine Documentation π
subroutine DPOTRS (character uplo, integer n, integer nrhs, double
precision, dimension( lda, * ) a, integer lda, double precision,
dimension( ldb, * ) b, integer ldb, integer info)
DPOTRS
π Purpose π
!> !> DPOTRS solves a system of linear equations A*X = B with a symmetric !> positive definite matrix A using the Cholesky factorization !> A = UT*U or A = L*LT computed by DPOTRF. !>
ok so real talk: you already did the hard part with DPOTRF (that's where the Cholesky factorization A = U**T*U or A = L*L**T comes from, no cap). now DPOTRS swoops in and actually solves A*X = B using the factor you already have. main character energy fr fr β¨
π Parameters π
UPLOβUPLO is CHARACTER*1. it's giving "which triangle are we working with":
!> = 'U': Upper triangle of A is stored; !> = 'L': Lower triangle of A is stored. !>
NβN is INTEGER. the order of the matrixA. constraint check:N >= 0π
!>
NRHSβNRHS is INTEGER. the number of right hand sides, i.e., the number of columns of the matrixB. constraint check:NRHS >= 0π
!>
AβA is DOUBLE PRECISION array, dimension (LDA,N). this is the triangular factorUorLfrom the Cholesky factorizationA = U**T*UorA = L*L**T, as computed byDPOTRF. literally the handoff from your last function π«Ά
!>
LDAβLDA is INTEGER. the leading dimension of the arrayA. rule:LDA >= max(1,N)π
!>
BβB is DOUBLE PRECISION array, dimension (LDB,NRHS). glow-up moment: on entry, the right hand side matrixB; on exit, the solution matrixX. she transforms π
!>
LDBβLDB is INTEGER. the leading dimension of the arrayB. rule:LDB >= max(1,N)β
!>
INFOβINFO is INTEGER. the vibe check at the end:
!> = 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.
(the academic supergroup of LAPACK, we stan ππ₯)
Definition at line 109 of file dpotrs.f. π
πΊ Author (again, bestie) πΊ
Generated automatically by Doxygen for LAPACK from the source code. not a human, just a very diligent little documentation fairy π§β¨
ok that's the whole page!! π big slay, INFO = 0, A*X = B solved, everybody go home. this page came to you from LAPACK, Version 3.12.0, dated /home/abui...RC/dpotrs.f(3) β mwah, ily, bye ππ¦π
π¦ 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