27 #ifndef MIRTK_Umfpack_H 28 #define MIRTK_Umfpack_H 41 case UMFPACK_OK:
return "Success";
42 #ifdef UMFPACK_WARNING_singular_matrix 43 case UMFPACK_WARNING_singular_matrix:
return "Matrix is singular";
45 #ifdef UMFPACK_WARNING_determinant_underflow 46 case UMFPACK_WARNING_determinant_underflow:
return "Determinant underflow";
48 #ifdef UMFPACK_WARNING_determinant_overflow 49 case UMFPACK_WARNING_determinant_overflow:
return "Determinant overflow";
51 #ifdef UMFPACK_ERROR_out_of_memory 52 case UMFPACK_ERROR_out_of_memory:
return "Out of memory";
54 #ifdef UMFPACK_ERROR_invalid_Numeric_object 55 case UMFPACK_ERROR_invalid_Numeric_object:
return "Invalid Numeric object";
57 #ifdef UMFPACK_ERROR_invalid_Symbolic_object 58 case UMFPACK_ERROR_invalid_Symbolic_object:
return "Invalid Symbolic object";
60 #ifdef UMFPACK_ERROR_argument_missing 61 case UMFPACK_ERROR_argument_missing:
return "Argument missing";
63 #ifdef UMFPACK_ERROR_n_nonpositive 64 case UMFPACK_ERROR_n_nonpositive:
return "N non-positive";
66 #ifdef UMFPACK_ERROR_invalid_matrix 67 case UMFPACK_ERROR_invalid_matrix:
return "Invalid matrix";
69 #ifdef UMFPACK_ERROR_different_pattern 70 case UMFPACK_ERROR_different_pattern:
return "Different pattern";
72 #ifdef UMFPACK_ERROR_invalid_system 73 case UMFPACK_ERROR_invalid_system:
return "Invalid system";
75 #ifdef UMFPACK_ERROR_invalid_permutation 76 case UMFPACK_ERROR_invalid_permutation:
return "Invalid permutation";
78 #ifdef UMFPACK_ERROR_internal_error 79 case UMFPACK_ERROR_internal_error:
return "Internal error";
81 #ifdef UMFPACK_ERROR_file_IO 82 case UMFPACK_ERROR_file_IO:
return "File I/O error";
84 #ifdef UMFPACK_ERROR_ordering_failed 85 case UMFPACK_ERROR_ordering_failed:
return "Ordering failed";
88 return "Unknown status code";
94 #endif // MIRTK_Umfpack_H_ const char * umfpack_status_message(int status)
Translate UMFPACK status code to message string.