gecon#
Functions
-
void sgecon(const char *norm, const INT n, const f32 *restrict A, const INT lda, const f32 anorm, f32 *rcond, f32 *restrict work, INT *restrict iwork, INT *info)#
SGECON estimates the reciprocal of the condition number of a general real matrix
A, in either the 1-norm or the infinity-norm, using the LU factorization computed by SGETRF.An estimate is obtained for
norm(inv(A)), and the reciprocal of the condition number is computed asrcond = 1 / ( norm(A) * 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.inAArray of dimension (
lda,n). The factors L and U from the factorization A = P*L*U as computed by sgetrf.inldaThe leading dimension of the array
A.lda>=max(1,n).inanormIf
norm='1'or'O', the 1-norm of the original matrixA. Ifnorm='I', the infinity-norm of the original matrixA.outrcondThe reciprocal of the condition number of the matrix
A, computed asrcond = 1/(norm(A) * norm(inv(A))).outworkWorkspace array of dimension (
4*n).outiworkInteger workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value. NaNs are illegal values foranorm, and they propagate to the output parameterrcond. Infinity is illegal foranorm, and it propagates to the output parameterrcondas 0.info=1: ifrcond= NaN, orrcond= Inf, or the computed norm of the inverse ofAis 0. In the latter,rcond= 0.
void sgecon(
const char* norm,
const INT n,
const f32* restrict A,
const INT lda,
const f32 anorm,
f32* rcond,
f32* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void dgecon(const char *norm, const INT n, const f64 *restrict A, const INT lda, const f64 anorm, f64 *rcond, f64 *restrict work, INT *restrict iwork, INT *info)#
DGECON estimates the reciprocal of the condition number of a general real matrix
A, in either the 1-norm or the infinity-norm, using the LU factorization computed by DGETRF.An estimate is obtained for
norm(inv(A)), and the reciprocal of the condition number is computed asrcond = 1 / ( norm(A) * 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.inAArray of dimension (
lda,n). The factors L and U from the factorization A = P*L*U as computed by dgetrf.inldaThe leading dimension of the array
A.lda>=max(1,n).inanormIf
norm='1'or'O', the 1-norm of the original matrixA. Ifnorm='I', the infinity-norm of the original matrixA.outrcondThe reciprocal of the condition number of the matrix
A, computed asrcond = 1/(norm(A) * norm(inv(A))).outworkWorkspace array of dimension (
4*n).outiworkInteger workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value. NaNs are illegal values foranorm, and they propagate to the output parameterrcond. Infinity is illegal foranorm, and it propagates to the output parameterrcondas 0.info=1: ifrcond= NaN, orrcond= Inf, or the computed norm of the inverse ofAis 0. In the latter,rcond= 0.
void dgecon(
const char* norm,
const INT n,
const f64* restrict A,
const INT lda,
const f64 anorm,
f64* rcond,
f64* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void cgecon(const char *norm, const INT n, const c64 *restrict A, const INT lda, const f32 anorm, f32 *rcond, c64 *restrict work, f32 *restrict rwork, INT *info)#
CGECON estimates the reciprocal of the condition number of a general complex matrix
A, in either the 1-norm or the infinity-norm, using the LU factorization computed by CGETRF.An estimate is obtained for
norm(inv(A)), and the reciprocal of the condition number is computed asrcond = 1 / ( norm(A) * 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.inAComplex array of dimension (
lda,n). The factors L and U from the factorization A = P*L*U as computed by cgetrf.inldaThe leading dimension of the array
A.lda>=max(1,n).inanormIf
norm='1'or'O', the 1-norm of the original matrixA. Ifnorm='I', the infinity-norm of the original matrixA.outrcondThe reciprocal of the condition number of the matrix
A, computed asrcond = 1/(norm(A) * norm(inv(A))).outworkComplex workspace array of dimension (
2*n).outrworkReal workspace array of dimension (
2*n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value. NaNs are illegal values foranorm, and they propagate to the output parameterrcond. Infinity is illegal foranorm, and it propagates to the output parameterrcondas 0.info=1: ifrcond= NaN, orrcond= Inf, or the computed norm of the inverse ofAis 0. In the latter,rcond= 0.
void cgecon(
const char* norm,
const INT n,
const c64* restrict A,
const INT lda,
const f32 anorm,
f32* rcond,
c64* restrict work,
f32* restrict rwork,
INT* info
);
Functions
-
void zgecon(const char *norm, const INT n, const c128 *restrict A, const INT lda, const f64 anorm, f64 *rcond, c128 *restrict work, f64 *restrict rwork, INT *info)#
ZGECON estimates the reciprocal of the condition number of a general complex matrix
A, in either the 1-norm or the infinity-norm, using the LU factorization computed by ZGETRF.An estimate is obtained for
norm(inv(A)), and the reciprocal of the condition number is computed asrcond = 1 / ( norm(A) * 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.inAComplex array of dimension (
lda,n). The factors L and U from the factorization A = P*L*U as computed by zgetrf.inldaThe leading dimension of the array
A.lda>=max(1,n).inanormIf
norm='1'or'O', the 1-norm of the original matrixA. Ifnorm='I', the infinity-norm of the original matrixA.outrcondThe reciprocal of the condition number of the matrix
A, computed asrcond = 1/(norm(A) * norm(inv(A))).outworkComplex workspace array of dimension (
2*n).outrworkReal workspace array of dimension (
2*n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value. NaNs are illegal values foranorm, and they propagate to the output parameterrcond. Infinity is illegal foranorm, and it propagates to the output parameterrcondas 0.info=1: ifrcond= NaN, orrcond= Inf, or the computed norm of the inverse ofAis 0. In the latter,rcond= 0.
void zgecon(
const char* norm,
const INT n,
const c128* restrict A,
const INT lda,
const f64 anorm,
f64* rcond,
c128* restrict work,
f64* restrict rwork,
INT* info
);