eigen/Eigen/SVD

52 lines
1.6 KiB
Plaintext
Raw Normal View History

// 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-08-20 04:18:46 +08:00
#ifndef EIGEN_SVD_MODULE_H
#define EIGEN_SVD_MODULE_H
#include "QR"
#include "Householder"
#include "Jacobi"
2008-08-20 04:18:46 +08:00
2011-02-22 22:31:22 +08:00
#include "src/Core/util/DisableStupidWarnings.h"
2008-08-20 04:18:46 +08:00
/** \defgroup SVD_Module SVD module
*
*
*
* This module provides SVD decomposition for matrices (both real and complex).
2014-10-29 18:29:33 +08:00
* Two decomposition algorithms are provided:
* - JacobiSVD implementing two-sided Jacobi iterations is numerically very accurate, fast for small matrices, but very slow for larger ones.
* - BDCSVD implementing a recursive divide & conquer strategy on top of an upper-bidiagonalization which remains fast for large problems.
* These decompositions are accessible via the respective classes and following MatrixBase methods:
* - MatrixBase::jacobiSvd()
2014-10-29 18:29:33 +08:00
* - MatrixBase::bdcSvd()
2008-08-20 04:18:46 +08:00
*
* \code
* #include <Eigen/SVD>
* \endcode
*/
#include "src/misc/RealSvd2x2.h"
2014-10-29 18:29:33 +08:00
#include "src/SVD/UpperBidiagonalization.h"
#include "src/SVD/SVDBase.h"
#include "src/SVD/JacobiSVD.h"
2014-10-29 18:29:33 +08:00
#include "src/SVD/BDCSVD.h"
#if defined(EIGEN_USE_LAPACKE) && !defined(EIGEN_USE_LAPACKE_STRICT)
#ifdef EIGEN_USE_MKL
#include "mkl_lapacke.h"
#else
#include "src/misc/lapacke.h"
#endif
2016-07-26 00:00:47 +08:00
#include "src/SVD/JacobiSVD_LAPACKE.h"
#endif
2008-08-20 04:18:46 +08:00
2011-02-22 22:31:22 +08:00
#include "src/Core/util/ReenableStupidWarnings.h"
2008-08-20 04:18:46 +08:00
#endif // EIGEN_SVD_MODULE_H
/* vim: set filetype=cpp et sw=2 ts=2 ai: */