TESTING/LIN/zpst01.f(3)
πΈ NAME
Bestie, welcome to TESTING/LIN/zpst01.f(3) from the Library Functions Manual π
β¨. This page is literally all about the routine zpst01, and we are gonna keep every single detail, no cap.
β¨ SYNOPSIS
π Functions/Subroutines
subroutine zpst01 (uplo, n, a, lda, afac, ldafac, perm, ldperm, piv,
rwork, resid, rank)
ZPST01
π Function/Subroutine Documentation
π subroutine zpst01
Here's the full signature, character for character, because we do not play about exact details π«Ά:
subroutine zpst01 (character uplo, integer n, complex*16, dimension( lda, *
) a, integer lda, complex*16, dimension( ldafac, * ) afac, integer
ldafac, complex*16, dimension( ldperm, * ) perm, integer ldperm,
integer, dimension( * ) piv, double precision, dimension( * ) rwork,
double precision resid, integer rank)
ZPST01
π¦ Purpose
ZPST01 reconstructs an Hermitian positive semidefinite matrix A from its L or U factors and the permutation matrix P, and computes the residual:
norm( P*L*L'*P' - A ) / ( N * norm(A) * EPS ) or
norm( P*U'*U*P' - 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. Periodt π
π Parameters
UPLOβUPLOisCHARACTER*1. It specifies whether the upper or lower triangular part of the Hermitian matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβNisINTEGER. The number of rows and columns of the matrixA.N >= 0.AβAisCOMPLEX*16array, dimension(LDA,N). The original Hermitian matrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFACβAFACisCOMPLEX*16array, dimension(LDAFAC,N). The factorLorUfrom theL*L'orU'*Ufactorization ofA.LDAFACβLDAFACisINTEGER. The leading dimension of the arrayAFAC.LDAFAC >= max(1,N).PERMβPERMisCOMPLEX*16array, dimension(LDPERM,N). Overwritten with the reconstructed matrix, and then with the differenceP*L*L'*P' - A(orP*U'*U*P' - A).LDPERMβLDPERMisINTEGER. The leading dimension of the arrayPERM.LDAPERM >= max(1,N).PIVβPIVisINTEGERarray, dimension(N).PIVis such that the nonzero entries areP( PIV( K ), K ) = 1.RWORKβRWORKisDOUBLE PRECISIONarray, dimension(N).RESIDβRESIDisDOUBLE PRECISION. IfUPLO = 'L',norm(L*L' - A) / ( N * norm(A) * EPS ). IfUPLO = 'U',norm(U'*U - A) / ( N * norm(A) * EPS ).RANKβRANKisINTEGER. Number of nonzero singular values ofA.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition at line
134 of file zpst01.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
And that's the wrap, bestie π«Άπ: this page is from LAPACK Version 3.12.0, file TESTING/LIN/zpst01.f(3), and it was generated automatically by Doxygen for LAPACK from the source code. Byeee β¨π
π¦ 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