CPPT01(3)
πΈ NAME πΈ
Okay so this is the page for CPPT01(3) from the Library Functions Manual, and the source file is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cppt01.f
That's the whole NAME section, bestie. Short and iconic π .
β¨ SYNOPSIS β¨
Functions/Subroutines β the lineup is giving main character energy:
Functions/Subroutines
subroutine CPPT01 (uplo, n, a, afac, rwork, resid)
CPPT01
And the full signature, no cap:
subroutine CPPT01 (character uplo, integer n, complex, dimension( * ) a,
complex, dimension( * ) afac, real, dimension( * ) rwork, real resid)
CPPT01
π«Ά Function/Subroutine Documentation π«Ά
π― Purpose π―
Not me being obsessed with a residual routine, but here we are π. The purpose is exactly this:
!>
!> 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.
!>
So yeah, it reconstructs, it computes residuals, it slays β¨. EPS is the machine epsilon, L' is the conjugate transpose of L, and U' is the conjugate transpose of U β fr fr.
π§ Parameters π§
π UPLO
UPLO is CHARACTER*1. It specifies whether the upper or lower triangular part of the Hermitian matrix A is stored:
= 'U':Upper triangular= 'L':Lower triangular
π N
N is INTEGER. It's the number of rows and columns of the matrix A. And yes, N >= 0. β that's the vibe check π«Ά.
π A
A is COMPLEX array, dimension (N*(N+1)/2). It's the original Hermitian matrix A, stored as a packed triangular matrix. Literally the blueprint π.
π AFAC
AFAC is COMPLEX array, dimension (N*(N+1)/2). On entry, it's the factor L or U from the L*L' or U'*U factorization of A, stored as a packed triangular matrix. Then it gets overwritten with the reconstructed matrix, and then with the difference L*L' - A (or U'*U - A). It's giving transformation arc π₯.
π RWORK
RWORK is REAL array, dimension (N).
π RESID
RESID is REAL.
- If
UPLO = 'L', it'snorm(L*L' - A) / ( N * norm(A) * EPS ) - If
UPLO = 'U', it'snorm(U'*U - A) / ( N * norm(A) * EPS )
That's the whole residual situation, periodt π .
π Author π
The author squad is:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 94 of file cppt01.f.
π Author π
This page was Generated automatically by Doxygen for LAPACK from the source code. Iconic behavior, honestly π.
And that's the tea, bestie π«Άπ β this footer says LAPACK Version 3.12.0 and /home/abui...IN/cppt01.f(3). Byeee β¨π¦
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms