SRC/spotrf.f(3)
okay bestie, welcome to SRC/spotrf.f(3) from the Library Functions Manual π
this is the page for SRC/spotrf.f, and the main character is the spotrf subroutine. She's giving Cholesky factorization energy, and we're obsessed. π«Ά
β¨ NAME β¨
SRC/spotrf.f β that's the file/page we're on. Lowkey iconic, no cap. π
β¨ SYNOPSIS β¨
Functions/Subroutines
here's the lineup, bestie:
subroutine spotrf (uplo, n, a, lda, info)
SPOTRF
β¨ Function/Subroutine Documentation β¨
subroutine spotrf (character uplo, integer n, real, dimension( lda, * ) a,
integer lda, integer info)
SPOTRF
π Purpose π
okay so SPOTRF computes the Cholesky factorization of a real symmetric positive definite matrix A. yes, positive definite is the vibe check here. β¨
The factorization has the form:
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 lower triangular. This is the block version of the algorithm, calling Level 3 BLAS. periodt. π
πΈ Parameters πΈ
UPLOβ isCHARACTER*1.= 'U': upper triangle ofAis stored;= 'L': lower triangle ofAis stored. πNβ isINTEGER. The order of the matrixA.N >= 0. π¦Aβ isREAL array, dimension(LDA,N). On entry, the symmetric matrixA. 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, ifINFO = 0, the factorUorLfrom the Cholesky factorizationA = U**T*UorA = L*L**T. πLDAβ isINTEGER. The leading dimension of the arrayA.LDA >= max(1,N). πINFOβ isINTEGER.= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value;> 0: ifINFO = i, the leading principal minor of orderiis not positive, and the factorization could not be completed. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 106 of file spotrf.f. β
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code. π
cute little sign-off, bestie: the footer credits LAPACK, Version 3.12.0, and this page, SRC/spotrf.f(3). There's no date in the footer, so no invented date β we keep the facts cute and correct. π§π
π¦ 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