1 #ifndef EIGEN_REGRESSION_MODULE_H 2 #define EIGEN_REGRESSION_MODULE_H 3 4 #ifndef EIGEN2_SUPPORT 5 #error LeastSquares is only available in Eigen2 support mode (define EIGEN2_SUPPORT) 6 #endif 7 8 // exclude from normal eigen3-only documentation 9 #ifdef EIGEN2_SUPPORT 10 11 #include "Core" 12 13 #include "src/Core/util/DisableStupidWarnings.h" 14 15 #include "Eigenvalues" 16 #include "Geometry" 17 18 /** \defgroup LeastSquares_Module LeastSquares module 19 * This module provides linear regression and related features. 20 * 21 * \code 22 * #include <Eigen/LeastSquares> 23 * \endcode 24 */ 25 26 #include "src/Eigen2Support/LeastSquares.h" 27 28 #include "src/Core/util/ReenableStupidWarnings.h" 29 30 #endif // EIGEN2_SUPPORT 31 32 #endif // EIGEN_REGRESSION_MODULE_H 33