SRC/zsptri.f(3)
π SRC/zsptri.f(3) π
okay so this is the SRC/zsptri.f(3) page from the Library Functions Manual β yes bestie, the whole vibe is LAPACK docs, and we're getting into it π«Ά
πΈ NAME πΈ
SRC/zsptri.f β that's the name, literally, no extra crumbs π
β¨ SYNOPSIS β¨
Functions/Subroutines π¦
subroutine zsptri (uplo, n, ap, ipiv, work, info)
ZSPTRI
The main character is ZSPTRI, and it's showing up with signature subroutine zsptri (uplo, n, ap, ipiv, work, info) β iconic behavior, no cap β¨
π Function/Subroutine Documentation π
Here's the full signature, preserved exactly because we do not mess with code in this group chat:
subroutine zsptri (character uplo, integer n, complex*16, dimension( * ) ap,
integer, dimension( * ) ipiv, complex*16, dimension( * ) work, integer
info)
ZSPTRI π
π― Purpose: π―
ZSPTRI computes the inverse of a complex symmetric indefinite matrix A in packed storage using the factorization A = U*D*U**T or A = L*D*L**T computed by ZSPTRF π
π Parameters π
π UPLO π
UPLO is CHARACTER*1 β it tells you whether the factorization details are stored as an upper or lower triangular matrix, bestie:
= 'U': Upper triangular, form isA = U*D*U**T;= 'L': Lower triangular, form isA = L*D*L**T.
π N π
N is INTEGER β it's the order of the matrix A. The rule is N >= 0 π¦
π AP π
AP is COMPLEX*16 array, dimension (N*(N+1)/2) β¨
On entry, it holds the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by ZSPTRF, stored as a packed triangular matrix π
On exit, if INFO = 0, it holds the (symmetric) inverse of the original matrix, stored as a packed triangular matrix. The j-th column of inv(A) is stored in the array AP as follows:
- if
UPLO = 'U',AP(i + (j-1)*j/2) = inv(A)(i,j)for1<=i<=j; - if
UPLO = 'L',AP(i + (j-1)*(2n-j)/2) = inv(A)(i,j)forj<=i<=n.
π IPIV π
IPIV is INTEGER array, dimension (N) β it holds the details of the interchanges and the block structure of D as determined by ZSPTRF π
π WORK π
WORK is COMPLEX*16 array, dimension (N) β
π INFO π
INFO is INTEGER β the exit-status tea is:
= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value;> 0: ifINFO = i,D(i,i) = 0; the matrix is singular and its inverse could not be computed π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 108 of file zsptri.f. πΈ
π Author π
Generated automatically by Doxygen for LAPACK from the source code π«Ά
and that's the whole page, bestie β footer flex is LAPACK, Version 3.12.0, SRC/zsptri.f(3), and it ate, periodt πβ¨
π¦ 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