2015-10-26 11:46:05 +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/.
|
|
|
|
|
|
2008-08-19 20:18:46 +00:00
|
|
|
#ifndef EIGEN_SVD_MODULE_H
|
|
|
|
|
#define EIGEN_SVD_MODULE_H
|
|
|
|
|
|
2009-09-02 06:36:55 -04:00
|
|
|
#include "QR"
|
2009-08-09 16:58:13 +02:00
|
|
|
#include "Householder"
|
|
|
|
|
#include "Jacobi"
|
2008-08-19 20:18:46 +00:00
|
|
|
|
2011-02-22 09:31:22 -05:00
|
|
|
#include "src/Core/util/DisableStupidWarnings.h"
|
2008-12-18 20:48:02 +00:00
|
|
|
|
2008-08-19 20:18:46 +00:00
|
|
|
/** \defgroup SVD_Module SVD module
|
2009-01-26 13:53:43 +00:00
|
|
|
*
|
2010-06-29 10:10:47 -04:00
|
|
|
*
|
2009-01-26 13:53:43 +00:00
|
|
|
*
|
2012-01-26 13:16:50 +00:00
|
|
|
* This module provides SVD decomposition for matrices (both real and complex).
|
2014-10-29 11:29:33 +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-01-26 13:16:50 +00:00
|
|
|
* - MatrixBase::jacobiSvd()
|
2014-10-29 11:29:33 +01:00
|
|
|
* - MatrixBase::bdcSvd()
|
2008-08-19 20:18:46 +00:00
|
|
|
*
|
|
|
|
|
* \code
|
|
|
|
|
* #include <Eigen/SVD>
|
|
|
|
|
* \endcode
|
|
|
|
|
*/
|
|
|
|
|
|
2023-02-08 17:40:31 +00:00
|
|
|
// IWYU pragma: begin_exports
|
2014-10-29 11:29:33 +01:00
|
|
|
#include "src/SVD/UpperBidiagonalization.h"
|
2014-09-01 18:16:20 +02:00
|
|
|
#include "src/SVD/SVDBase.h"
|
2009-08-31 22:26:15 -04:00
|
|
|
#include "src/SVD/JacobiSVD.h"
|
2014-10-29 11:29:33 +01:00
|
|
|
#include "src/SVD/BDCSVD.h"
|
2022-12-09 18:50:12 +00:00
|
|
|
#ifdef EIGEN_USE_LAPACKE
|
2017-08-17 21:58:39 +02:00
|
|
|
#ifdef EIGEN_USE_MKL
|
|
|
|
|
#include "mkl_lapacke.h"
|
|
|
|
|
#else
|
2016-07-25 18:20:08 +02:00
|
|
|
#include "src/misc/lapacke.h"
|
2017-08-17 21:58:39 +02:00
|
|
|
#endif
|
2022-12-09 18:50:12 +00:00
|
|
|
#ifndef EIGEN_USE_LAPACKE_STRICT
|
2016-07-25 18:00:47 +02:00
|
|
|
#include "src/SVD/JacobiSVD_LAPACKE.h"
|
2011-12-05 14:52:21 +07:00
|
|
|
#endif
|
2022-12-09 18:50:12 +00:00
|
|
|
#include "src/SVD/BDCSVD_LAPACKE.h"
|
|
|
|
|
#endif
|
2023-02-08 17:40:31 +00:00
|
|
|
// IWYU pragma: end_exports
|
2008-08-19 20:18:46 +00:00
|
|
|
|
2011-02-22 09:31:22 -05:00
|
|
|
#include "src/Core/util/ReenableStupidWarnings.h"
|
2008-12-18 20:48:02 +00:00
|
|
|
|
2008-08-19 20:18:46 +00:00
|
|
|
#endif // EIGEN_SVD_MODULE_H
|