aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/eigen3/Eigen/LeastSquares
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/eigen3/Eigen/LeastSquares')
-rw-r--r--third_party/eigen3/Eigen/LeastSquares32
1 files changed, 32 insertions, 0 deletions
diff --git a/third_party/eigen3/Eigen/LeastSquares b/third_party/eigen3/Eigen/LeastSquares
new file mode 100644
index 0000000000..35137c25db
--- /dev/null
+++ b/third_party/eigen3/Eigen/LeastSquares
@@ -0,0 +1,32 @@
+#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