gtcon#
Functions
-
void sgtcon(const char *norm, const INT n, const f32 *restrict DL, const f32 *restrict D, const f32 *restrict DU, const f32 *restrict DU2, const INT *restrict ipiv, const f32 anorm, f32 *rcond, f32 *restrict work, INT *restrict iwork, INT *info)#
SGTCON estimates the reciprocal of the condition number of a real tridiagonal matrix A using the LU factorization as computed by SGTTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
Parameters
innormSpecifies whether the 1-norm condition number or the infinity-norm condition number is required: = ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm
innThe order of the matrix A. n >= 0.
inDLThe (n-1) multipliers that define the matrix L from the LU factorization of A as computed by SGTTRF. Array of dimension (n-1).
inDThe n diagonal elements of the upper triangular matrix U from the LU factorization of A. Array of dimension (n).
inDUThe (n-1) elements of the first superdiagonal of U. Array of dimension (n-1).
inDU2The (n-2) elements of the second superdiagonal of U. Array of dimension (n-2).
inipivThe pivot indices; for 0 <= i < n, row i of the matrix was interchanged with row ipiv[i]. Array of dimension (n).
inanormIf norm = ‘1’ or “O”, the 1-norm of the original matrix A. If norm = “I”, the infinity-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.
outworkWorkspace array of dimension (2*n).
outiworkInteger workspace array of dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void sgtcon(
const char* norm,
const INT n,
const f32* restrict DL,
const f32* restrict D,
const f32* restrict DU,
const f32* restrict DU2,
const INT* restrict ipiv,
const f32 anorm,
f32* rcond,
f32* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void dgtcon(const char *norm, const INT n, const f64 *restrict DL, const f64 *restrict D, const f64 *restrict DU, const f64 *restrict DU2, const INT *restrict ipiv, const f64 anorm, f64 *rcond, f64 *restrict work, INT *restrict iwork, INT *info)#
DGTCON estimates the reciprocal of the condition number of a real tridiagonal matrix A using the LU factorization as computed by DGTTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
Parameters
innormSpecifies whether the 1-norm condition number or the infinity-norm condition number is required: = ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm
innThe order of the matrix A. n >= 0.
inDLThe (n-1) multipliers that define the matrix L from the LU factorization of A as computed by DGTTRF. Array of dimension (n-1).
inDThe n diagonal elements of the upper triangular matrix U from the LU factorization of A. Array of dimension (n).
inDUThe (n-1) elements of the first superdiagonal of U. Array of dimension (n-1).
inDU2The (n-2) elements of the second superdiagonal of U. Array of dimension (n-2).
inipivThe pivot indices; for 0 <= i < n, row i of the matrix was interchanged with row ipiv[i]. Array of dimension (n).
inanormIf norm = ‘1’ or “O”, the 1-norm of the original matrix A. If norm = “I”, the infinity-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.
outworkWorkspace array of dimension (2*n).
outiworkInteger workspace array of dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void dgtcon(
const char* norm,
const INT n,
const f64* restrict DL,
const f64* restrict D,
const f64* restrict DU,
const f64* restrict DU2,
const INT* restrict ipiv,
const f64 anorm,
f64* rcond,
f64* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void cgtcon(const char *norm, const INT n, const c64 *restrict DL, const c64 *restrict D, const c64 *restrict DU, const c64 *restrict DU2, const INT *restrict ipiv, const f32 anorm, f32 *rcond, c64 *restrict work, INT *info)#
CGTCON estimates the reciprocal of the condition number of a complex tridiagonal matrix A using the LU factorization as computed by CGTTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
Parameters
innormSpecifies whether the 1-norm condition number or the infinity-norm condition number is required: = ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm
innThe order of the matrix A. n >= 0.
inDLThe (n-1) multipliers that define the matrix L from the LU factorization of A as computed by CGTTRF. Array of dimension (n-1).
inDThe n diagonal elements of the upper triangular matrix U from the LU factorization of A. Array of dimension (n).
inDUThe (n-1) elements of the first superdiagonal of U. Array of dimension (n-1).
inDU2The (n-2) elements of the second superdiagonal of U. Array of dimension (n-2).
inipivThe pivot indices; for 0 <= i < n, row i of the matrix was interchanged with row ipiv[i]. Array of dimension (n).
inanormIf norm = ‘1’ or “O”, the 1-norm of the original matrix A. If norm = “I”, the infinity-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.
outworkWorkspace array of dimension (2*n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void cgtcon(
const char* norm,
const INT n,
const c64* restrict DL,
const c64* restrict D,
const c64* restrict DU,
const c64* restrict DU2,
const INT* restrict ipiv,
const f32 anorm,
f32* rcond,
c64* restrict work,
INT* info
);
Functions
-
void zgtcon(const char *norm, const INT n, const c128 *restrict DL, const c128 *restrict D, const c128 *restrict DU, const c128 *restrict DU2, const INT *restrict ipiv, const f64 anorm, f64 *rcond, c128 *restrict work, INT *info)#
ZGTCON estimates the reciprocal of the condition number of a complex tridiagonal matrix A using the LU factorization as computed by ZGTTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
Parameters
innormSpecifies whether the 1-norm condition number or the infinity-norm condition number is required: = ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm
innThe order of the matrix A. n >= 0.
inDLThe (n-1) multipliers that define the matrix L from the LU factorization of A as computed by ZGTTRF. Array of dimension (n-1).
inDThe n diagonal elements of the upper triangular matrix U from the LU factorization of A. Array of dimension (n).
inDUThe (n-1) elements of the first superdiagonal of U. Array of dimension (n-1).
inDU2The (n-2) elements of the second superdiagonal of U. Array of dimension (n-2).
inipivThe pivot indices; for 0 <= i < n, row i of the matrix was interchanged with row ipiv[i]. Array of dimension (n).
inanormIf norm = ‘1’ or “O”, the 1-norm of the original matrix A. If norm = “I”, the infinity-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.
outworkWorkspace array of dimension (2*n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void zgtcon(
const char* norm,
const INT n,
const c128* restrict DL,
const c128* restrict D,
const c128* restrict DU,
const c128* restrict DU2,
const INT* restrict ipiv,
const f64 anorm,
f64* rcond,
c128* restrict work,
INT* info
);