aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Sparse
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-10-19 22:44:21 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-10-19 22:44:21 +0000
commit3a231c2349e2a6d62cfd600aff74cd2709613d48 (patch)
treec41babe95ae07f4879ded4bf73d9e9f336314b24 /Eigen/Sparse
parent64f7fbe3f2e8a92bd9cbad452e6707c75840d95f (diff)
sparse module: add support for umfpack, the sparse direct LU
solver from suitesparse (as cholmod). It seems to be even faster than SuperLU and it was much simpler to interface ! Well, the factorization is faster, but for the solve part, SuperLU is quite faster. On the other hand the solve part represents only a fraction of the whole procedure. Moreover, I bench random matrices that does not represents real cases, and I'm not sure at all I use both libraries with their best settings !
Diffstat (limited to 'Eigen/Sparse')
-rw-r--r--Eigen/Sparse8
1 files changed, 8 insertions, 0 deletions
diff --git a/Eigen/Sparse b/Eigen/Sparse
index 0b222d105..df0310f89 100644
--- a/Eigen/Sparse
+++ b/Eigen/Sparse
@@ -50,6 +50,10 @@
namespace Eigen { struct SluMatrix; }
#endif
+#ifdef EIGEN_UMFPACK_SUPPORT
+ #include "umfpack.h"
+#endif
+
namespace Eigen {
#include "src/Sparse/SparseUtil.h"
@@ -79,6 +83,10 @@ namespace Eigen {
# include "src/Sparse/SuperLUSupport.h"
#endif
+#ifdef EIGEN_UMFPACK_SUPPORT
+# include "src/Sparse/UmfPackSupport.h"
+#endif
+
} // namespace Eigen
#endif // EIGEN_SPARSE_MODULE_H