2015-10-26 18:46:05 +08:00
|
|
|
// This file is part of Eigen, a lightweight C++ template library
|
|
|
|
// for linear algebra.
|
|
|
|
//
|
|
|
|
// This Source Code Form is subject to the terms of the Mozilla
|
|
|
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
|
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2008-05-01 21:53:05 +08:00
|
|
|
#ifndef EIGEN_CHOLESKY_MODULE_H
|
|
|
|
#define EIGEN_CHOLESKY_MODULE_H
|
|
|
|
|
|
|
|
#include "Core"
|
2017-08-22 17:37:32 +08:00
|
|
|
#include "Jacobi"
|
2008-05-01 21:53:05 +08:00
|
|
|
|
2011-02-22 22:31:22 +08:00
|
|
|
#include "src/Core/util/DisableStupidWarnings.h"
|
2008-12-19 04:48:02 +08:00
|
|
|
|
2008-07-22 18:54:42 +08:00
|
|
|
/** \defgroup Cholesky_Module Cholesky module
|
2009-02-02 22:21:35 +08:00
|
|
|
*
|
2010-06-29 22:10:47 +08:00
|
|
|
*
|
2009-02-02 22:21:35 +08:00
|
|
|
*
|
2008-07-22 18:54:42 +08:00
|
|
|
* This module provides two variants of the Cholesky decomposition for selfadjoint (hermitian) matrices.
|
2014-04-07 21:14:48 +08:00
|
|
|
* Those decompositions are also accessible via the following methods:
|
|
|
|
* - MatrixBase::llt()
|
2008-10-13 23:53:27 +08:00
|
|
|
* - MatrixBase::ldlt()
|
2014-04-07 21:14:48 +08:00
|
|
|
* - SelfAdjointView::llt()
|
|
|
|
* - SelfAdjointView::ldlt()
|
2008-07-22 18:54:42 +08:00
|
|
|
*
|
|
|
|
* \code
|
|
|
|
* #include <Eigen/Cholesky>
|
|
|
|
* \endcode
|
|
|
|
*/
|
|
|
|
|
2008-10-13 23:53:27 +08:00
|
|
|
#include "src/Cholesky/LLT.h"
|
|
|
|
#include "src/Cholesky/LDLT.h"
|
2011-12-09 23:52:37 +08:00
|
|
|
#ifdef EIGEN_USE_LAPACKE
|
2017-08-18 03:58:39 +08:00
|
|
|
#ifdef EIGEN_USE_MKL
|
|
|
|
#include "mkl_lapacke.h"
|
|
|
|
#else
|
2016-07-26 00:20:08 +08:00
|
|
|
#include "src/misc/lapacke.h"
|
2017-08-18 03:58:39 +08:00
|
|
|
#endif
|
2016-07-26 00:00:47 +08:00
|
|
|
#include "src/Cholesky/LLT_LAPACKE.h"
|
2011-12-05 15:52:21 +08:00
|
|
|
#endif
|
2008-05-01 21:53:05 +08:00
|
|
|
|
2011-02-22 22:31:22 +08:00
|
|
|
#include "src/Core/util/ReenableStupidWarnings.h"
|
2008-12-19 04:48:02 +08:00
|
|
|
|
2008-05-01 21:53:05 +08:00
|
|
|
#endif // EIGEN_CHOLESKY_MODULE_H
|