CPTCON(3)
π NAME π
okay bestie, youβre in the Library Functions Manual, and this page is literally all about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cptcon.f. no cap, thatβs the file. π¦
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine CPTCON (n, d, e, anorm, rcond, rwork, info)
CPTCON
π Function/Subroutine Documentation π
subroutine CPTCON (integer n, real, dimension( * ) d, complex, dimension( * ) e, real anorm, real rcond, real, dimension( * ) rwork, integer info)
CPTCON
πΈ Purpose πΈ
okay so CPTCON computes the reciprocal of the condition number β in the 1-norm, bestie β of a complex Hermitian positive definite tridiagonal matrix. it does this using the factorization A = L*D*L**H or A = U**H*D*U computed by CPTTRF. iconic behavior tbh. π
Norm(inv(A)) is computed by a direct method, and the reciprocal of the condition number is computed as:
RCOND = 1 / (ANORM * norm(inv(A))).
π Parameters π
NβNisINTEGER. the order of the matrixA.N >= 0. periodt.DβDisREAL array, dimension (N). these are thendiagonal elements of the diagonal matrixDfrom the factorization ofA, as computed byCPTTRF. slay.EβEisCOMPLEX array, dimension (N-1). these are the(n-1)off-diagonal elements of the unit bidiagonal factorUorLfrom the factorization ofA, as computed byCPTTRF. π«ΆANORMβANORMisREAL. itβs the 1-norm of the original matrixA. yes maβam.RCONDβRCONDisREAL. this is the reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis the 1-norm ofinv(A)computed in this routine. big main-character energy. π₯RWORKβRWORKisREAL array, dimension (N). thatβs the whole vibe.INFOβINFOisINTEGER.= 0:successful exit π< 0:ifINFO = -i, thei-th argument had an illegal value π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Further Details β
the method used is described in Nicholas J. Higham, , SIAM J. Sci. Stat. Comput., Vol. 7, No. 1, January 1986.
Definition at line 118 of file cptcon.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
β¨ cute sign-off: LAPACK Version 3.12.0 β source file /home/abui...RC/cptcon.f(3); the only date on this page is the Higham citationβs January 1986. iykyk. ππ
π¦ 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