Updates to the Sparse unsupported solvers module.

* change Sparse* specialization's signatures from <..., int Backend> to <..., typename Backend>. Update SparseExtra accordingly to use structs instead of the SparseBackend enum.
* add SparseLDLT Cholmod specialization
* for Cholmod and UmfPack, SparseLU, SparseLLT and SparseLDLT now use ei_solve_retval and have the new solve() method (to be closer to the 3.0 API).

* fix doc
This commit is contained in:
Romain Bossart
2010-10-04 20:56:54 +02:00
parent e3d01f85b2
commit c6503e03eb
15 changed files with 563 additions and 187 deletions

View File

@@ -3,7 +3,7 @@
#include "SparseExtra"
#include "src/Core/util/DisableMSVCWarnings.h"
#include "../../Eigen/src/Core/util/DisableMSVCWarnings.h"
extern "C" {
#include <cholmod.h>
@@ -20,11 +20,13 @@ namespace Eigen {
* \endcode
*/
struct Cholmod {};
#include "src/SparseExtra/CholmodSupport.h"
} // namespace Eigen
#include "src/Core/util/EnableMSVCWarnings.h"
#include "../../Eigen/src/Core/util/EnableMSVCWarnings.h"
#endif // EIGEN_CHOLMODSUPPORT_MODULE_H