|
SuperLU 7.0.0
|

Functions | |
| int | sgst01 (int m, int n, SuperMatrix *A, SuperMatrix *L, SuperMatrix *U, int *perm_c, int *perm_r, float *resid) |
SGST01 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 sgst01 | ( | int | m, |
| int | n, | ||
| SuperMatrix * | A, | ||
| SuperMatrix * | L, | ||
| SuperMatrix * | U, | ||
| int * | perm_c, | ||
| int * | perm_r, | ||
| float * | resid | ||
| ) |
SGST01 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 SGSTRF, dimension(N). |
| [in] | perm_r | The pivot indices from SGSTRF, dimension(M). |
| [out] | resid | norm(L*U - A) / ( N * norm(A) * EPS ) |
