| #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 |
| |
| // exclude from normal eigen3-only documentation |
| #ifdef EIGEN2_SUPPORT |
| |
| #include "Core" |
| |
| #include "src/Core/util/DisableStupidWarnings.h" |
| |
| #include "Eigenvalues" |
| #include "Geometry" |
| |
| /** \defgroup LeastSquares_Module LeastSquares module |
| * This module provides linear regression and related features. |
| * |
| * \code |
| * #include <Eigen/LeastSquares> |
| * \endcode |
| */ |
| |
| #include "src/Eigen2Support/LeastSquares.h" |
| |
| #include "src/Core/util/ReenableStupidWarnings.h" |
| |
| #endif // EIGEN2_SUPPORT |
| |
| #endif // EIGEN_REGRESSION_MODULE_H |