mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
c6503e03eb
* 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
33 lines
571 B
Plaintext
33 lines
571 B
Plaintext
#ifndef EIGEN_CHOLMODSUPPORT_MODULE_H
|
|
#define EIGEN_CHOLMODSUPPORT_MODULE_H
|
|
|
|
#include "SparseExtra"
|
|
|
|
#include "../../Eigen/src/Core/util/DisableMSVCWarnings.h"
|
|
|
|
extern "C" {
|
|
#include <cholmod.h>
|
|
}
|
|
|
|
namespace Eigen {
|
|
|
|
/** \ingroup Unsupported_modules
|
|
* \defgroup CholmodSupport_Module Cholmod Support module
|
|
*
|
|
*
|
|
* \code
|
|
* #include <Eigen/CholmodSupport>
|
|
* \endcode
|
|
*/
|
|
|
|
struct Cholmod {};
|
|
|
|
#include "src/SparseExtra/CholmodSupport.h"
|
|
|
|
} // namespace Eigen
|
|
|
|
#include "../../Eigen/src/Core/util/EnableMSVCWarnings.h"
|
|
|
|
#endif // EIGEN_CHOLMODSUPPORT_MODULE_H
|
|
|