2011-01-27 00:05:41 +08:00
|
|
|
#ifndef EIGEN_REGRESSION_MODULE_H
|
|
|
|
#define EIGEN_REGRESSION_MODULE_H
|
|
|
|
|
|
|
|
#ifndef EIGEN2_SUPPORT
|
|
|
|
#error LeastSquares is only available in Eigen2 support mode (define EIGEN2_SUPPORT)
|
|
|
|
#endif
|
|
|
|
|
2011-02-28 06:43:10 +08:00
|
|
|
// exclude from normal eigen3-only documentation
|
|
|
|
#ifdef EIGEN2_SUPPORT
|
|
|
|
|
2011-01-27 00:05:41 +08:00
|
|
|
#include "Core"
|
|
|
|
|
2011-02-22 22:31:22 +08:00
|
|
|
#include "src/Core/util/DisableStupidWarnings.h"
|
2011-01-27 00:05:41 +08:00
|
|
|
|
|
|
|
#include "Eigenvalues"
|
|
|
|
#include "Geometry"
|
|
|
|
|
|
|
|
namespace Eigen {
|
|
|
|
|
|
|
|
/** \defgroup LeastSquares_Module LeastSquares module
|
|
|
|
* This module provides linear regression and related features.
|
|
|
|
*
|
|
|
|
* \code
|
|
|
|
* #include <Eigen/LeastSquares>
|
|
|
|
* \endcode
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "src/Eigen2Support/LeastSquares.h"
|
|
|
|
|
|
|
|
} // namespace Eigen
|
|
|
|
|
2011-02-22 22:31:22 +08:00
|
|
|
#include "src/Core/util/ReenableStupidWarnings.h"
|
2011-01-27 00:05:41 +08:00
|
|
|
|
2011-02-28 06:43:10 +08:00
|
|
|
#endif // EIGEN2_SUPPORT
|
|
|
|
|
2011-01-27 00:05:41 +08:00
|
|
|
#endif // EIGEN_REGRESSION_MODULE_H
|