CSPT03(3)
π CSPT03(3) β Library Functions Manual π
okay so bestie, we're in the Library Functions Manual and this whole page is about CSPT03(3). it's giving LAPACK function/subroutine energy, and we're gonna get into every parameter, every formula, every author credit. no skips, no cap. π
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cspt03.f
like yes, that's the whole path, and yes, it's iconic in a deeply nerdy way. π«Ά
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine CSPT03 (uplo, n, a, ainv, work, ldw, rwork, rcond, resid)
CSPT03
πΈ Function/Subroutine Documentation πΈ
subroutine CSPT03 (character uplo, integer n, complex, dimension( * ) a,
complex, dimension( * ) ainv, complex, dimension( ldw, * ) work, integer
ldw, real, dimension( * ) rwork, real rcond, real resid)
CSPT03
π Purpose π
okay so CSPT03 computes the residual for a complex symmetric packed matrix times its inverse. the formula is literally:
norm( I - A*AINV ) / ( N * norm(A) * norm(AINV) * EPS ),
where EPS is the machine epsilon. that's the whole vibe of this routine. π
π Parameters π
UPLOβ typeCHARACTER*1. tells us whether the upper or lower triangular part of the complex symmetric matrixAis stored:= 'U':Upper triangular= 'L':Lower triangular
Nβ typeINTEGER. the number of rows and columns of the matrixA.N >= 0.Aβ typeCOMPLEX array, dimension (N*(N+1)/2). this is the original complex symmetric matrixA, stored as a packed triangular matrix.AINVβ typeCOMPLEX array, dimension (N*(N+1)/2). this is the (symmetric) inverse of the matrixA, stored as a packed triangular matrix.WORKβ typeCOMPLEX array, dimension (LDW,N).LDWβ typeINTEGER. the leading dimension of the arrayWORK.LDW >= max(1,N).RWORKβ typeREAL array, dimension (N).RCONDβ typeREAL. the reciprocal of the condition number ofA, computed as( 1/norm(A) ) / norm(AINV).RESIDβ typeREAL.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 108 of file cspt03.f.
π Author π
- Generated automatically by Doxygen for LAPACK from the source code.
okay bestie that's the whole page π
the footer credits LAPACK Version 3.12.0 and the file /home/abui...IN/cspt03.f(3) β no separate date shown in this copy, so no invented date from me, periodt. mwah π
π¦ 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