TESTING/LIN/cppt01.f(3)
π NAME
hey bestie, welcome to the Library Functions Manual page for TESTING/LIN/cppt01.f(3) β the title is TESTING/LIN/cppt01.f, and it is literally all about the cppt01 subroutine. π
β¨ SYNOPSIS
π§ Functions/Subroutines
subroutine cppt01 (uplo, n, a, afac, rwork, resid)
CPPT01
π Function/Subroutine Documentation
subroutine cppt01 (character uplo, integer n, complex, dimension( * ) a,
complex, dimension( * ) afac, real, dimension( * ) rwork, real resid)
CPPT01
the function name is CPPT01, no cap. π«Ά
πΈ Purpose
okay so hereβs the tea, fr fr: CPPT01 reconstructs a Hermitian positive definite packed matrix A from its L*L' or U'*U factorization and computes the residual:
norm( L*L' - A ) / ( N * norm(A) * EPS ) or
norm( U'*U - A ) / ( N * norm(A) * EPS ),
where EPS is the machine epsilon, L' is the conjugate transpose of L, and U' is the conjugate transpose of U. the Doxygen comment wrappers are all !>, but the real content is that math right there. β¨
π Parameters
UPLOβUPLO is CHARACTER*1. Specifies whether the upper or lower triangular part of the Hermitian matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβN is INTEGER. The number of rows and columns of the matrixA.N >= 0.AβA is COMPLEX array, dimension (N*(N+1)/2). The original Hermitian matrixA, stored as a packed triangular matrix.AFACβAFAC is COMPLEX array, dimension (N*(N+1)/2). On entry, the factorLorUfrom theL*L'orU'*Ufactorization ofA, stored as a packed triangular matrix. Overwritten with the reconstructed matrix, and then with the differenceL*L' - A(orU'*U - A).RWORKβRWORK is REAL array, dimension (N).RESIDβRESID is REAL.- If
UPLO = 'L',norm(L*L' - A) / ( N * norm(A) * EPS ) - If
UPLO = 'U',norm(U'*U - A) / ( N * norm(A) * EPS )
- If
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 94 of file cppt01.f.
π«Ά Author
Generated automatically by Doxygen for LAPACK from the source code.
Final sign-off, bestie: this is LAPACK Version 3.12.0, page TESTING/LIN/cppt01.f(3). The footer does not give a date, so thereβs no date to spill β just version and page, 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