mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "SparseExtra"
|
||||
|
||||
#include "src/Core/util/DisableMSVCWarnings.h"
|
||||
#include "../../Eigen/src/Core/util/DisableMSVCWarnings.h"
|
||||
|
||||
#include <umfpack.h>
|
||||
|
||||
@@ -20,10 +20,12 @@ namespace Eigen {
|
||||
* \endcode
|
||||
*/
|
||||
|
||||
struct UmfPack {};
|
||||
|
||||
#include "src/SparseExtra/UmfPackSupport.h"
|
||||
|
||||
} // namespace Eigen
|
||||
|
||||
#include "src/Core/util/EnableMSVCWarnings.h"
|
||||
#include "../../Eigen/src/Core/util/EnableMSVCWarnings.h"
|
||||
|
||||
#endif // EIGEN_UMFPACKSUPPORT_MODULE_H
|
||||
|
||||
Reference in New Issue
Block a user