SRC/dpttrf.f(3)
β¨ SRC/dpttrf.f β¨
okay bestie, so this is a Library Functions Manual page for SRC/dpttrf.f β literally one subroutine, and it's a good one. buckle up π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine dpttrf (n, d, e, info)β the one and only, and the name is literallyDPTTRF, periodt.
π¦ Function/Subroutine Documentation π¦
subroutine dpttrf (integer n, double precision, dimension( * ) d, double precision, dimension( * ) e, integer info)
yup, that's DPTTRF π
π Purpose:
!> !> DPTTRF computes the L*D*LT factorization of a real symmetric !> positive definite tridiagonal matrix A. The factorization may also !> be regarded as having the form A = UT*D*U. !>
so basically it takes your tridiagonal A and breaks it down for you β either as L*D*L**T or as U**T*D*U, same energy, both iconic β¨
π Parameters
N
!> N is INTEGER !> The order of the matrix A. N >= 0. !>
it's how big A is, and ngl it has to be N >= 0 or we're not doing this π«Ά
D
!> D is DOUBLE PRECISION array, dimension (N) !> On entry, the n diagonal elements of the tridiagonal matrix !> A. On exit, the n diagonal elements of the diagonal matrix !> D from the L*D*L**T factorization of A. !>
the glow-up arc of an array π on the way in it's holding the n diagonal elements of the tridiagonal matrix A, and on the way out it's holding the n diagonal elements of the diagonal matrix D from the L*D*L**T factorization of A. main character energy fr fr
E
!> E is DOUBLE PRECISION array, dimension (N-1) !> On entry, the (n-1) subdiagonal elements of the tridiagonal !> matrix A. On exit, the (n-1) subdiagonal elements of the !> unit bidiagonal factor L from the L*D*LT factorization of A. !> E can also be regarded as the superdiagonal of the unit !> bidiagonal factor U from the UT*D*U factorization of A. !>
bestie note the size: dimension (N-1), not N, okay π entering: the (n-1) subdiagonal elements of the tridiagonal matrix A. exiting: the (n-1) subdiagonal elements of the unit bidiagonal factor L from the L*D*L**T factorization of A. and plot twist β E can ALSO be regarded as the superdiagonal of the unit bidiagonal factor U from the U**T*D*U factorization of A. versatile queen π
INFO
!> INFO is INTEGER !> = 0: successful exit !> < 0: if INFO = -k, the k-th argument had an illegal value !> > 0: if INFO = k, the leading principal minor of order k !> is not positive; if k < N, the factorization could not !> be completed, while if k = N, the factorization was !> completed, but D(N) <= 0. !>
the vibe check report card π
= 0β successful exit, we ate, no crumbs π< 0β ifINFO = -k, the k-th argument had an illegal value π> 0β ifINFO = k, the leading principal minor of order k is not positive. ifk < N, the factorization could not be completed (π), while ifk = N, the factorization was completed, butD(N) <= 0(π so close bestie)
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
squad goals, literally π«Ά
π Definition at line 90 of file dpttrf.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code. not me being a whole auto-generated girlie π€β¨
heads up bestie: this page is LAPACK π Version 3.12.0 and it's dated to match β so if you're quoting it in a group chat, cite the version, iykyk π
okay that's the whole page, you're welcome, go slay your tridiagonal factorization π₯π
π¦ 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