SRC/dpotrf.f(3)
πΈ SRC/dpotrf.f(3) πΈ
Ok bestie, welcome to the SRC/dpotrf.f(3) page from the Library Functions Manual π. This is the DPOTRF zone, and it's giving Fortran linear algebra main character energy. Let's go. β¨
β¨ NAME β¨
SRC/dpotrf.f
That's literally the page/file name, periodt. π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine dpotrf (uplo, n, a, lda, info)βDPOTRF. Yep, that's the subroutine and its argument list, exactly as listed. Slay. π
π Function/Subroutine Documentation π
π§ Subroutine Signature π§
subroutine dpotrf (character uplo, integer n, double precision, dimension(
lda, * ) a, integer lda, integer info)
DPOTRF β iconic, no notes.
π Purpose π
DPOTRF computes the Cholesky factorization of a real symmetric positive definite matrix A. That's the assignment, bestie. π
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. The way that this triangular setup is written out? Obsessed, ngl. πΈ
This is the block version of the algorithm, calling Level 3 BLAS. So yes, it's the block-y one β highkey important detail. This block version ate, honestly. π₯
π«Ά Parameters π«Ά
All the parameter specs are below, no cap. π«Ά
UPLO
UPLO is CHARACTER*1
= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
N
N is INTEGER
The order of the matrix A. N >= 0.
A
A is DOUBLE PRECISION array, dimension (LDA,N)
On entry, the symmetric matrix A. If UPLO = 'U', the leading N-by-N upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = 'L', the leading N-by-N lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced.
On exit, if INFO = 0, the factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T.
LDA
LDA is INTEGER
The leading dimension of the array A. LDA >= max(1,N). Lowkey a dimension rule, but make sure it's satisfied. π¦
INFO
INFO is INTEGER
= 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
is not positive, and the factorization could not be
completed.
That's the exit/vibe check, fr fr. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 106 of file dpotrf.f.
π Author (auto-generated) π
Generated automatically by Doxygen for LAPACK from the source code.
Cute sign-off from the footer: LAPACK, Version 3.12.0, and SRC/dpotrf.f(3) π. That's the source/version footer info β no separate date line in this copy, fr fr. β¨
π¦ 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