CPOT03(3)
π CPOT03(3) / cpot03.f(3) β Library Functions Manual π
okay so bestie, welcome to the glow-up of a LAPACK manual page π«Ά. This is cpot03.f(3) from the Library Functions Manual, and weβre gonna get through it together, no cap.
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cpot03.f
π SYNOPSIS π
Under Functions/Subroutines:
Functions/Subroutines
subroutine CPOT03 (uplo, n, a, lda, ainv, ldainv, work, ldwork, rwork,
rcond, resid)
CPOT03
π¦ Function/Subroutine Documentation π¦
subroutine CPOT03 (character uplo, integer n, complex, dimension( lda, * )
a, integer lda, complex, dimension( ldainv, * ) ainv, integer ldainv,
complex, dimension( ldwork, * ) work, integer ldwork, real, dimension( *
) rwork, real rcond, real resid)
CPOT03
π― Purpose
CPOT03 computes the residual for a Hermitian matrix times its inverse:
norm( I - A*AINV ) / ( N * norm(A) * norm(AINV) * EPS )
where EPS is the machine epsilon. Math girl summer, honestly πβ¨.
π§Έ Parameters
UPLOβCHARACTER*1. Specifies whether the upper or lower triangular part of the Hermitian matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβINTEGER. The number of rows and columns of the matrixA.N >= 0.AβCOMPLEX array, dimension (LDA,N). The original Hermitian matrixA.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AINVβCOMPLEX array, dimension (LDAINV,N). On entry, the inverse of the matrixA, stored as a Hermitian matrix in the same format asA.
π¨ Heads up, bestie: in this version,AINVis expanded into a full matrix and multiplied byA, so the opposing triangle ofAINVwill be changed; i.e., if the upper triangular part ofAINVis stored, the lower triangular part will be used as work space. Itβs giving βweβre using that side as scrap paperβ energy π.
LDAINVβINTEGER. The leading dimension of the arrayAINV.LDAINV >= max(1,N).WORKβCOMPLEX array, dimension (LDWORK,N).LDWORKβINTEGER. The leading dimension of the arrayWORK.LDWORK >= max(1,N).RWORKβREAL array, dimension (N).RCONDβREAL. The reciprocal of the condition number ofA, computed as( 1/norm(A) ) / norm(AINV).RESIDβREAL.norm(I - A*AINV) / ( N * norm(A) * norm(AINV) * EPS ).
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 124 of file cpot03.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, final footer energy, cute sign-off style: LAPACK, Version 3.12.0, /home/abui...IN/cpot03.f(3) ππβ¨
π¦ 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