SRC/spttrf.f(3)
π SRC/spttrf.f π
okay so this is SRC/spttrf.f, straight out of the Library Functions Manual, and itβs giving βsmall but mighty tridiagonal factorizationβ energy. Letβs break it down, bestie. π
πΈ NAME πΈ
SRC/spttrf.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine spttrf (n, d, e, info)β SPTTRF
π Function/Subroutine Documentation π
subroutine spttrf (integer n, real, dimension( * ) d, real, dimension( * ) e, integer info)
SPTTRF β the subroutine in question, no big deal. π
π Purpose π
SPTTRF computes the L*D*L**T factorization of a real symmetric positive definite tridiagonal matrix A. The factorization may also be regarded as having the form A = U**T*D*U. iconic linear algebra behavior, honestly. β¨
π¦ Parameters π¦
okay bestie, hereβs the tea on every single argument:
NβN is INTEGER. The order of the matrixA.N >= 0.DβD is REAL array, dimension (N). On entry, thendiagonal elements of the tridiagonal matrixA. On exit, thendiagonal elements of the diagonal matrixDfrom theL*D*L**Tfactorization ofA.EβE is REAL array, dimension (N-1). On entry, the(n-1)subdiagonal elements of the tridiagonal matrixA. On exit, the(n-1)subdiagonal elements of the unit bidiagonal factorLfrom theL*D*L**Tfactorization ofA.Ecan also be regarded as the superdiagonal of the unit bidiagonal factorUfrom theU**T*D*Ufactorization ofA.INFOβINFO is INTEGER.= 0β successful exit.< 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.
vibe check: those INFO values are literally the receipts for whether things went okay or absolutely did not. Keep an eye on them. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 90 of file spttrf.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Catch you later, bestie β this whole page is SRC/spttrf.f(3) from LAPACK Version 3.12.0. The footer doesnβt list a date, so weβre not inventing one. πβ¨
π¦ 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