diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-10-05 13:38:38 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-10-05 13:38:38 +0000 |
commit | b730c6f57dce7c56f7cb0752eb58a40e3e2d0c5d (patch) | |
tree | b183025c580cc5c419462e5ac043f3c02b9e19da /Eigen/Sparse | |
parent | a930dfb2295a62ab42bbfb3319ad1732c0d4f7f6 (diff) |
Sparse module: add experimental support for TAUCS and CHOLMOD with:
* bidirectionnal mapping
* full cholesky factorization
Diffstat (limited to 'Eigen/Sparse')
-rw-r--r-- | Eigen/Sparse | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/Eigen/Sparse b/Eigen/Sparse index e5126a2d1..d1418943b 100644 --- a/Eigen/Sparse +++ b/Eigen/Sparse @@ -8,6 +8,27 @@ #include <cstring> #include <algorithm> +#ifdef EIGEN_CHOLMOD_SUPPORT + extern "C" { + #include "cholmod.h" + } +#endif + +#ifdef EIGEN_TAUCS_SUPPORT + + extern "C" { + #include "taucs.h" + } + + #ifdef min + #undef min + #endif + #ifdef max + #undef max + #endif + +#endif + namespace Eigen { #include "src/Sparse/SparseUtil.h" @@ -22,7 +43,15 @@ namespace Eigen { #include "src/Sparse/SparseSetter.h" #include "src/Sparse/SparseProduct.h" #include "src/Sparse/TriangularSolver.h" -#include "src/Sparse/BasicSparseCholesky.h" +#include "src/Sparse/SparseCholesky.h" + +#ifdef EIGEN_CHOLMOD_SUPPORT +# include "src/Sparse/CholmodSupport.h" +#endif + +#ifdef EIGEN_TAUCS_SUPPORT +# include "src/Sparse/TaucsSupport.h" +#endif } // namespace Eigen |