ptcon(3)
π NAME π
ptcon β okay so this is the whole "condition number estimate" situation, bestie. That's the vibe. That's the whole thing.
β¨ SYNOPSIS β¨
π Functions
subroutine cptcon (n, d, e, anorm, rcond, rwork, info)β CPTCONsubroutine dptcon (n, d, e, anorm, rcond, work, info)β DPTCONsubroutine sptcon (n, d, e, anorm, rcond, work, info)β SPTCONsubroutine zptcon (n, d, e, anorm, rcond, rwork, info)β ZPTCON
πΈ Detailed Description πΈ
Like, the actual details are down in the function documentation below. That's where the main character energy lives. π«Ά
π¦ Function Documentation π¦
π subroutine cptcon (integer n, real, dimension( * ) d, complex, dimension( * ) e, real anorm, real rcond, real, dimension( * ) rwork, integer info)
subroutine cptcon (integer n, real, dimension( * ) d, complex, dimension( * ) e, real anorm, real rcond, real, dimension( * ) rwork, integer info)
CPTCON
π₯ Purpose:
Ok so CPTCON computes the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite tridiagonal matrix using the factorization A = L*D*L**H or A = U**H*D*U computed by CPTTRF. Iconic behavior, honestly.
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 β
Nis INTEGER. It's the order of the matrixA.N >= 0. No negatives allowed, periodt. - D β
Dis REAL array, dimension(N). These are the n diagonal elements of the diagonal matrixDfrom the factorization ofA, as computed byCPTTRF. - E β
Eis COMPLEX array, dimension(N-1). The (n-1) off-diagonal elements of the unit bidiagonal factorUorLfrom the factorization ofA, as computed byCPTTRF. - ANORM β
ANORMis REAL. It's the 1-norm of the original matrixA. - RCOND β
RCONDis REAL. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis the 1-norm ofinv(A)computed in this routine. - RWORK β
RWORKis REAL array, dimension(N). Just doing its little job. π§ - INFO β
INFOis INTEGER:= 0: successful exit π< 0: ifINFO = -i, the i-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.
π subroutine dptcon (integer n, double precision, dimension( * ) d, double precision, dimension( * ) e, double precision anorm, double precision rcond, double precision, dimension( * ) work, integer info)
subroutine dptcon (integer n, double precision, dimension( * ) d, double precision, dimension( * ) e, double precision anorm, double precision rcond, double precision, dimension( * ) work, integer info)
DPTCON
π₯ Purpose:
DPTCON computes the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite tridiagonal matrix using the factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF.
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 β
Nis INTEGER. The order of the matrixA.N >= 0. - D β
Dis DOUBLE PRECISION array, dimension(N). The n diagonal elements of the diagonal matrixDfrom the factorization ofA, as computed byDPTTRF. - E β
Eis DOUBLE PRECISION array, dimension(N-1). The (n-1) off-diagonal elements of the unit bidiagonal factorUorLfrom the factorization ofA, as computed byDPTTRF. (Yes there are two spaces there, we don't gatekeep.) - ANORM β
ANORMis DOUBLE PRECISION. The 1-norm of the original matrixA. - RCOND β
RCONDis DOUBLE PRECISION. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis the 1-norm ofinv(A)computed in this routine. - WORK β
WORKis DOUBLE PRECISION array, dimension(N). Living its truth. β¨ - INFO β
INFOis INTEGER:= 0: successful exit π< 0: ifINFO = -i, the i-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 117 of file dptcon.f.
π subroutine sptcon (integer n, real, dimension( * ) d, real, dimension( * ) e, real anorm, real rcond, real, dimension( * ) work, integer info)
subroutine sptcon (integer n, real, dimension( * ) d, real, dimension( * ) e, real anorm, real rcond, real, dimension( * ) work, integer info)
SPTCON
π₯ Purpose:
SPTCON computes the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite tridiagonal matrix using the factorization A = L*D*L**T or A = U**T*D*U computed by SPTTRF.
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 β
Nis INTEGER. The order of the matrixA.N >= 0. - D β
Dis REAL array, dimension(N). The n diagonal elements of the diagonal matrixDfrom the factorization ofA, as computed bySPTTRF. - E β
Eis REAL array, dimension(N-1). The (n-1) off-diagonal elements of the unit bidiagonal factorUorLfrom the factorization ofA, as computed bySPTTRF. - ANORM β
ANORMis REAL. The 1-norm of the original matrixA. - RCOND β
RCONDis REAL. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis the 1-norm ofinv(A)computed in this routine. - WORK β
WORKis REAL array, dimension(N). Tiny little workspace bestie. π - INFO β
INFOis INTEGER:= 0: successful exit π< 0: ifINFO = -i, the i-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 117 of file sptcon.f.
π subroutine zptcon (integer n, double precision, dimension( * ) d, complex*16, dimension( * ) e, double precision anorm, double precision rcond, double precision, dimension( * ) rwork, integer info)
subroutine zptcon (integer n, double precision, dimension( * ) d, complex*16, dimension( * ) e, double precision anorm, double precision rcond, double precision, dimension( * ) rwork, integer info)
ZPTCON
π₯ Purpose:
ZPTCON computes the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite tridiagonal matrix using the factorization A = L*D*L**H or A = U**H*D*U computed by ZPTTRF. Complex bestie hours fr fr. π
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 β
Nis INTEGER. The order of the matrixA.N >= 0. - D β
Dis DOUBLE PRECISION array, dimension(N). The n diagonal elements of the diagonal matrixDfrom the factorization ofA, as computed byZPTTRF. - E β
Eis COMPLEX*16 array, dimension(N-1). The (n-1) off-diagonal elements of the unit bidiagonal factorUorLfrom the factorization ofA, as computed byZPTTRF. - ANORM β
ANORMis DOUBLE PRECISION. The 1-norm of the original matrixA. - RCOND β
RCONDis DOUBLE PRECISION. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis the 1-norm ofinv(A)computed in this routine. - RWORK β
RWORKis DOUBLE PRECISION array, dimension(N). Carrying the real-valued workload so the complex girls can shine. π¦ - INFO β
INFOis INTEGER:= 0: successful exit π< 0: ifINFO = -i, the i-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 zptcon.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code. Not me writing this by hand, the robots did it, and honestly? Slay.
Ok that's the whole page bestie, no cap, every flag accounted for. π
LAPACK β Version 3.12.0 β ptcon(3) π That's the source, the version, and the date-ish, all wrapped up in a cute little sign-off. 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