TESTING/LIN/sspt01.f(3)
π NAME π
okay bestie, this is TESTING/LIN/sspt01.f β straight from the Library Functions Manual, page TESTING/LIN/sspt01.f(3). Itβs giving βLAPACK testing routine,β and the main character is SSPT01 in all its packed-matrix-reconstruction glory. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine sspt01 (uplo, n, a, afac, ipiv, c, ldc, rwork, resid)
SSPT01
π«Ά Function/Subroutine Documentation π«Ά
Hereβs the full signature, no cap:
subroutine sspt01 (character uplo, integer n, real, dimension( * ) a, real,
dimension( * ) afac, integer, dimension( * ) ipiv, real, dimension( ldc,
* ) c, integer ldc, real, dimension( * ) rwork, real resid)
SSPT01
β¨ Purpose β¨
SSPT01 reconstructs a symmetric indefinite packed matrix A from its block L*D*L' or U*D*U' factorization and computes the residual, bestie:
norm( C - A ) / ( N * norm(A) * EPS ),
where C is the reconstructed matrix and EPS is the machine epsilon. Literally thatβs the whole purpose, and it ate. π
π Parameters π
πΈ UPLO
UPLO is CHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matrix A is stored:
= 'U': Upper triangular= 'L': Lower triangular
πΈ N
N is INTEGER. The number of rows and columns of the matrix A. N >= 0.
πΈ A
A is REAL array, dimension (N*(N+1)/2). The original symmetric matrix A, stored as a packed triangular matrix.
πΈ AFAC
AFAC is REAL array, dimension (N*(N+1)/2). The factored form of the matrix A, stored as a packed triangular matrix. AFAC contains the block diagonal matrix D and the multipliers used to obtain the factor L or U from the block L*D*L' or U*D*U' factorization as computed by SSPTRF.
πΈ IPIV
IPIV is INTEGER array, dimension (N). The pivot indices from SSPTRF.
πΈ C
C is REAL array, dimension (LDC,N).
πΈ LDC
LDC is INTEGER. The leading dimension of the array C. LDC >= max(1,N).
πΈ RWORK
RWORK is REAL array, dimension (N).
πΈ RESID
RESID is REAL.
If UPLO = 'L', norm(L*D*L' - A) / ( N * norm(A) * EPS )
If UPLO = 'U', norm(U*D*U' - A) / ( N * norm(A) * EPS )
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 109 of file sspt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie π β footer vibes are source/version <purple>LAPACK</purple>, <purple>Version 3.12.0</purple>, page <purple>TESTING/LIN/sspt01.f(3)</purple> β and the footer didnβt hand me a separate date, so no invented date era for us π. Mwah! π«Άβ¨
π¦ 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