SuperLU 6.0.1
|
Functions | |
int | cgst01 (int m, int n, SuperMatrix *A, SuperMatrix *L, SuperMatrix *U, int *perm_c, int *perm_r, float *resid) |
CGST01 reconstructs a matrix A from its L*U factorization and computes the residual norm(L*U - A) / ( N * norm(A) * EPS ), where EPS is the machine epsilon.
int cgst01 | ( | int | m, |
int | n, | ||
SuperMatrix * | A, | ||
SuperMatrix * | L, | ||
SuperMatrix * | U, | ||
int * | perm_c, | ||
int * | perm_r, | ||
float * | resid | ||
) |
CGST01 reconstructs a matrix A from its L*U factorization and computes the residual norm(L*U - A) / ( N * norm(A) * EPS ), where EPS is the machine epsilon.
[in] | m | The number of rows of the matrix A. M >= 0. |
[in] | n | The number of columns of the matrix A. N >= 0. |
[in] | A | The original M x N matrix A. |
[in] | L | The factor matrix L, dimension (L->nrow, L->ncol). |
[in] | U | The factor matrix U, dimension (U->nrow, U->ncol). |
[in] | perm_c | The column permutation from CGSTRF, dimension (N). |
[in] | perm_r | The pivot indices from CGSTRF, dimension (M). |
[out] | resid | norm(L*U - A) / ( N * norm(A) * EPS ) |