Cholesky 1.18 KB
Newer Older
1 2 3 4 5 6 7
// 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/.

LM's avatar
LM committed
8 9 10 11
#ifndef EIGEN_CHOLESKY_MODULE_H
#define EIGEN_CHOLESKY_MODULE_H

#include "Core"
12
#include "Jacobi"
LM's avatar
LM committed
13 14 15 16 17 18 19 20

#include "src/Core/util/DisableStupidWarnings.h"

/** \defgroup Cholesky_Module Cholesky module
  *
  *
  *
  * This module provides two variants of the Cholesky decomposition for selfadjoint (hermitian) matrices.
21 22
  * Those decompositions are also accessible via the following methods:
  *  - MatrixBase::llt()
LM's avatar
LM committed
23
  *  - MatrixBase::ldlt()
24 25
  *  - SelfAdjointView::llt()
  *  - SelfAdjointView::ldlt()
LM's avatar
LM committed
26 27 28 29 30 31 32 33
  *
  * \code
  * #include <Eigen/Cholesky>
  * \endcode
  */

#include "src/Cholesky/LLT.h"
#include "src/Cholesky/LDLT.h"
Don Gagne's avatar
Don Gagne committed
34
#ifdef EIGEN_USE_LAPACKE
35 36 37 38 39 40
#ifdef EIGEN_USE_MKL
#include "mkl_lapacke.h"
#else
#include "src/misc/lapacke.h"
#endif
#include "src/Cholesky/LLT_LAPACKE.h"
Don Gagne's avatar
Don Gagne committed
41
#endif
LM's avatar
LM committed
42 43 44 45 46

#include "src/Core/util/ReenableStupidWarnings.h"

#endif // EIGEN_CHOLESKY_MODULE_H
/* vim: set filetype=cpp et sw=2 ts=2 ai: */