2017-01-25 20:05:31 +01: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/.
|
|
|
|
|
2011-10-05 17:04:40 +02:00
|
|
|
#ifndef EIGEN_SVD_MODULE_H
|
|
|
|
#define EIGEN_SVD_MODULE_H
|
|
|
|
|
|
|
|
#include "QR"
|
|
|
|
#include "Householder"
|
|
|
|
#include "Jacobi"
|
|
|
|
|
|
|
|
#include "src/Core/util/DisableStupidWarnings.h"
|
|
|
|
|
|
|
|
/** \defgroup SVD_Module SVD module
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
2012-06-14 15:31:05 +02:00
|
|
|
* This module provides SVD decomposition for matrices (both real and complex).
|
2017-01-25 20:05:31 +01: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:
|
2012-06-14 15:31:05 +02:00
|
|
|
* - MatrixBase::jacobiSvd()
|
2017-01-25 20:05:31 +01:00
|
|
|
* - MatrixBase::bdcSvd()
|
2011-10-05 17:04:40 +02:00
|
|
|
*
|
|
|
|
* \code
|
|
|
|
* #include <Eigen/SVD>
|
|
|
|
* \endcode
|
|
|
|
*/
|
|
|
|
|
2017-01-25 20:05:31 +01:00
|
|
|
#include "src/misc/RealSvd2x2.h"
|
|
|
|
#include "src/SVD/UpperBidiagonalization.h"
|
|
|
|
#include "src/SVD/SVDBase.h"
|
2011-10-05 17:04:40 +02:00
|
|
|
#include "src/SVD/JacobiSVD.h"
|
2017-01-25 20:05:31 +01:00
|
|
|
#include "src/SVD/BDCSVD.h"
|
2012-10-05 09:27:34 +02:00
|
|
|
#if defined(EIGEN_USE_LAPACKE) && !defined(EIGEN_USE_LAPACKE_STRICT)
|
2017-01-25 20:05:31 +01:00
|
|
|
#include "src/misc/lapacke.h"
|
|
|
|
#include "src/SVD/JacobiSVD_LAPACKE.h"
|
2011-10-05 17:04:40 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "src/Core/util/ReenableStupidWarnings.h"
|
|
|
|
|
|
|
|
#endif // EIGEN_SVD_MODULE_H
|
|
|
|
/* vim: set filetype=cpp et sw=2 ts=2 ai: */
|