/home/abui...RC/sposv.f(3)
π sposv.f(3) Β· Library Functions Manual π
okay so bestie, this is the sposv.f(3) page from the Library Functions Manual, and we're about to get into SPOSV together. Linear algebra? Yes. Intimidating? Not today. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sposv.f β that's the file, periodt.
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine SPOSV (uplo, n, nrhs, a, lda, b, ldb, info)
SPOSV computes the solution to system of linear equations A * X = B for PO matrices. iconic behavior, honestly.
π¦ Function/Subroutine Documentation π¦
subroutine SPOSV (character uplo, integer n, integer nrhs, real, dimension(
lda, * ) a, integer lda, real, dimension( ldb, * ) b, integer ldb,
integer info)
SPOSV computes the solution to system of linear equations A * X = B for PO matrices.
π― Purpose π―
okay so here's the tea: SPOSV computes the solution to a real system of linear equations
A * X = B,
where A is an N-by-N symmetric positive definite matrix and X and B are N-by-NRHS matrices.
The Cholesky decomposition is used to factor A as
A = U**T* U, if UPLO = 'U', or
A = L * L**T, if UPLO = 'L',
where U is an upper triangular matrix and L is a lower triangular matrix. The factored form of A is then used to solve the system of equations A * X = B. slay. β¨
π Parameters π
UPLOβUPLOisCHARACTER*1, bestie:= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
NβNisINTEGER. The number of linear equations, i.e., 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βAisREAL array, dimension (LDA,N).- On entry, the symmetric matrix
A. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. - On exit, if
INFO = 0, the factorUorLfrom the Cholesky factorizationA = U**T*UorA = L*L**T.
- On entry, the symmetric matrix
LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).BβBisREAL array, dimension (LDB,NRHS).- On entry, the N-by-NRHS right hand side matrix
B. - On exit, if
INFO = 0, the N-by-NRHS solution matrixX.
- On entry, the N-by-NRHS right hand side matrix
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> 0: if INFO = i, the leading principal minor of order i of A is not positive, so the factorization could not be completed, and the solution has not been computed.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 129 of file sposv.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie. This is LAPACK Version 3.12.0, and the page lives at /home/abui...RC/sposv.f(3). mwah πβ¨
π¦ 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