gbcon#
Functions
-
void sgbcon(const char *norm, const INT n, const INT kl, const INT ku, const f32 *restrict AB, const INT ldab, const INT *restrict ipiv, const f32 anorm, f32 *rcond, f32 *restrict work, INT *restrict iwork, INT *info)#
SGBCON estimates the reciprocal of the condition number of a real general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by SGBTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as
rcond = 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.inklThe number of subdiagonals within the band of A.
kl>=0.inkuThe number of superdiagonals within the band of A.
ku>=0.inABArray of dimension (
ldab,n). The LU factorization of the band matrix A, as computed by SGBTRF. U is stored as an upper triangular band matrix withkl+kusuperdiagonals in rows 0 tokl+ku, and the multipliers used during the factorization are stored in rowskl+ku+1to2*kl+ku.inldabThe leading dimension of the array
AB.ldab>=2*kl+ku+1.inipivArray of dimension
n. The pivot indices; for0<=i<n, row i of the matrix was interchanged with rowipiv[i].inanormIf
norm='1'or'O', the 1-norm of the original matrix A. Ifnorm='I', the infinity-norm of the original matrix A.outrcondThe reciprocal of the condition number of the matrix A, computed as
rcond = 1/(norm(A) * norm(inv(A))).outworkWorkspace array of dimension (
3*n).outiworkInteger workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void sgbcon(
const char* norm,
const INT n,
const INT kl,
const INT ku,
const f32* restrict AB,
const INT ldab,
const INT* restrict ipiv,
const f32 anorm,
f32* rcond,
f32* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void dgbcon(const char *norm, const INT n, const INT kl, const INT ku, const f64 *restrict AB, const INT ldab, const INT *restrict ipiv, const f64 anorm, f64 *rcond, f64 *restrict work, INT *restrict iwork, INT *info)#
DGBCON estimates the reciprocal of the condition number of a real general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by DGBTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as
rcond = 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.inklThe number of subdiagonals within the band of A.
kl>=0.inkuThe number of superdiagonals within the band of A.
ku>=0.inABArray of dimension (
ldab,n). The LU factorization of the band matrix A, as computed by DGBTRF. U is stored as an upper triangular band matrix withkl+kusuperdiagonals in rows 0 tokl+ku, and the multipliers used during the factorization are stored in rowskl+ku+1to2*kl+ku.inldabThe leading dimension of the array
AB.ldab>=2*kl+ku+1.inipivArray of dimension
n. The pivot indices; for0<=i<n, row i of the matrix was interchanged with rowipiv[i].inanormIf
norm='1'or'O', the 1-norm of the original matrix A. Ifnorm='I', the infinity-norm of the original matrix A.outrcondThe reciprocal of the condition number of the matrix A, computed as
rcond = 1/(norm(A) * norm(inv(A))).outworkWorkspace array of dimension (
3*n).outiworkInteger workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void dgbcon(
const char* norm,
const INT n,
const INT kl,
const INT ku,
const f64* restrict AB,
const INT ldab,
const INT* restrict ipiv,
const f64 anorm,
f64* rcond,
f64* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void cgbcon(const char *norm, const INT n, const INT kl, const INT ku, const c64 *restrict AB, const INT ldab, const INT *restrict ipiv, const f32 anorm, f32 *rcond, c64 *restrict work, f32 *restrict rwork, INT *info)#
CGBCON estimates the reciprocal of the condition number of a complex general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by CGBTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as
rcond = 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.inklThe number of subdiagonals within the band of A.
kl>=0.inkuThe number of superdiagonals within the band of A.
ku>=0.inABArray of dimension (
ldab,n). The LU factorization of the band matrix A, as computed by CGBTRF. U is stored as an upper triangular band matrix withkl+kusuperdiagonals in rows 0 tokl+ku, and the multipliers used during the factorization are stored in rowskl+ku+1to2*kl+ku.inldabThe leading dimension of the array
AB.ldab>=2*kl+ku+1.inipivArray of dimension
n. The pivot indices; for0<=i<n, row i of the matrix was interchanged with rowipiv[i].inanormIf
norm='1'or'O', the 1-norm of the original matrix A. Ifnorm='I', the infinity-norm of the original matrix A.outrcondThe reciprocal of the condition number of the matrix A, computed as
rcond = 1/(norm(A) * norm(inv(A))).outworkComplex workspace array of dimension (
2*n).outrworkReal workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void cgbcon(
const char* norm,
const INT n,
const INT kl,
const INT ku,
const c64* restrict AB,
const INT ldab,
const INT* restrict ipiv,
const f32 anorm,
f32* rcond,
c64* restrict work,
f32* restrict rwork,
INT* info
);
Functions
-
void zgbcon(const char *norm, const INT n, const INT kl, const INT ku, const c128 *restrict AB, const INT ldab, const INT *restrict ipiv, const f64 anorm, f64 *rcond, c128 *restrict work, f64 *restrict rwork, INT *info)#
ZGBCON estimates the reciprocal of the condition number of a complex general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by ZGBTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as
rcond = 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.inklThe number of subdiagonals within the band of A.
kl>=0.inkuThe number of superdiagonals within the band of A.
ku>=0.inABArray of dimension (
ldab,n). The LU factorization of the band matrix A, as computed by ZGBTRF. U is stored as an upper triangular band matrix withkl+kusuperdiagonals in rows 0 tokl+ku, and the multipliers used during the factorization are stored in rowskl+ku+1to2*kl+ku.inldabThe leading dimension of the array
AB.ldab>=2*kl+ku+1.inipivArray of dimension
n. The pivot indices; for0<=i<n, row i of the matrix was interchanged with rowipiv[i].inanormIf
norm='1'or'O', the 1-norm of the original matrix A. Ifnorm='I', the infinity-norm of the original matrix A.outrcondThe reciprocal of the condition number of the matrix A, computed as
rcond = 1/(norm(A) * norm(inv(A))).outworkComplex workspace array of dimension (
2*n).outrworkReal workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void zgbcon(
const char* norm,
const INT n,
const INT kl,
const INT ku,
const c128* restrict AB,
const INT ldab,
const INT* restrict ipiv,
const f64 anorm,
f64* rcond,
c128* restrict work,
f64* restrict rwork,
INT* info
);