2008-04-27 02:26:05 +08:00
|
|
|
#ifndef EIGEN_QR_MODULE_H
|
|
|
|
#define EIGEN_QR_MODULE_H
|
|
|
|
|
|
|
|
#include "Core"
|
2008-12-19 04:48:02 +08:00
|
|
|
|
|
|
|
#include "src/Core/util/DisableMSVCWarnings.h"
|
|
|
|
|
2008-06-15 03:42:12 +08:00
|
|
|
#include "Cholesky"
|
2009-08-14 06:17:14 +08:00
|
|
|
#include "Jacobi"
|
2009-08-17 01:22:15 +08:00
|
|
|
#include "Householder"
|
2008-04-27 02:26:05 +08:00
|
|
|
|
2008-06-14 21:02:41 +08:00
|
|
|
// Note that EIGEN_HIDE_HEAVY_CODE has to be defined per module
|
|
|
|
#if (defined EIGEN_EXTERN_INSTANTIATIONS) && (EIGEN_EXTERN_INSTANTIATIONS>=2)
|
|
|
|
#ifndef EIGEN_HIDE_HEAVY_CODE
|
|
|
|
#define EIGEN_HIDE_HEAVY_CODE
|
|
|
|
#endif
|
|
|
|
#elif defined EIGEN_HIDE_HEAVY_CODE
|
|
|
|
#undef EIGEN_HIDE_HEAVY_CODE
|
|
|
|
#endif
|
|
|
|
|
2008-04-27 02:26:05 +08:00
|
|
|
namespace Eigen {
|
|
|
|
|
2008-07-22 18:54:42 +08:00
|
|
|
/** \defgroup QR_Module QR module
|
2009-01-26 21:53:43 +08:00
|
|
|
*
|
|
|
|
* \nonstableyet
|
|
|
|
*
|
2009-09-03 17:39:44 +08:00
|
|
|
* This module provides various QR decompositions
|
2008-07-22 18:54:42 +08:00
|
|
|
* This module also provides some MatrixBase methods, including:
|
|
|
|
* - MatrixBase::qr(),
|
|
|
|
*
|
|
|
|
* \code
|
|
|
|
* #include <Eigen/QR>
|
|
|
|
* \endcode
|
|
|
|
*/
|
|
|
|
|
2009-11-09 21:04:20 +08:00
|
|
|
#include "src/misc/Solve.h"
|
2009-08-25 01:46:14 +08:00
|
|
|
#include "src/QR/HouseholderQR.h"
|
2009-10-29 06:19:29 +08:00
|
|
|
#include "src/QR/FullPivHouseholderQR.h"
|
|
|
|
#include "src/QR/ColPivHouseholderQR.h"
|
2008-04-27 02:26:05 +08:00
|
|
|
|
2008-06-14 21:02:41 +08:00
|
|
|
// declare all classes for a given matrix type
|
|
|
|
#define EIGEN_QR_MODULE_INSTANTIATE_TYPE(MATRIXTYPE,PREFIX) \
|
2009-07-20 19:27:41 +08:00
|
|
|
PREFIX template class HouseholderQR<MATRIXTYPE>; \
|
2008-06-14 21:02:41 +08:00
|
|
|
|
|
|
|
// declare all class for all types
|
|
|
|
#define EIGEN_QR_MODULE_INSTANTIATE(PREFIX) \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(Matrix2f,PREFIX); \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(Matrix2d,PREFIX); \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(Matrix3f,PREFIX); \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(Matrix3d,PREFIX); \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(Matrix4f,PREFIX); \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(Matrix4d,PREFIX); \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(MatrixXf,PREFIX); \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(MatrixXd,PREFIX); \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(MatrixXcf,PREFIX); \
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE_TYPE(MatrixXcd,PREFIX)
|
|
|
|
|
|
|
|
#ifdef EIGEN_EXTERN_INSTANTIATIONS
|
|
|
|
EIGEN_QR_MODULE_INSTANTIATE(extern);
|
|
|
|
#endif // EIGEN_EXTERN_INSTANTIATIONS
|
|
|
|
|
2008-04-27 02:26:05 +08:00
|
|
|
} // namespace Eigen
|
|
|
|
|
2008-12-19 04:48:02 +08:00
|
|
|
#include "src/Core/util/EnableMSVCWarnings.h"
|
|
|
|
|
2009-09-04 15:23:38 +08:00
|
|
|
// FIXME for compatibility we include Eigenvalues here:
|
|
|
|
#include "Eigenvalues"
|
2009-09-03 17:39:44 +08:00
|
|
|
|
2008-04-27 02:26:05 +08:00
|
|
|
#endif // EIGEN_QR_MODULE_H
|
2009-12-02 07:00:29 +08:00
|
|
|
/* vim: set filetype=cpp et sw=2 ts=2 ai: */
|