aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Eigen/src/Core/GeneralProduct.h26
-rw-r--r--Eigen/src/Core/util/ForwardDeclarations.h4
2 files changed, 0 insertions, 30 deletions
diff --git a/Eigen/src/Core/GeneralProduct.h b/Eigen/src/Core/GeneralProduct.h
index d2290241c..0769a212e 100644
--- a/Eigen/src/Core/GeneralProduct.h
+++ b/Eigen/src/Core/GeneralProduct.h
@@ -76,32 +76,6 @@ public:
#endif
};
-// template<typename Lhs, typename Rhs> struct product_tag
-// {
-// private:
-//
-// typedef typename remove_all<Lhs>::type _Lhs;
-// typedef typename remove_all<Rhs>::type _Rhs;
-// enum {
-// Rows = _Lhs::RowsAtCompileTime,
-// Cols = _Rhs::ColsAtCompileTime,
-// Depth = EIGEN_SIZE_MIN_PREFER_FIXED(_Lhs::ColsAtCompileTime, _Rhs::RowsAtCompileTime)
-// };
-//
-// enum {
-// rows_select = Rows==1 ? int(Rows) : int(Large),
-// cols_select = Cols==1 ? int(Cols) : int(Large),
-// depth_select = Depth==1 ? int(Depth) : int(Large)
-// };
-// typedef product_type_selector<rows_select, cols_select, depth_select> selector;
-//
-// public:
-// enum {
-// ret = selector::ret
-// };
-//
-// };
-
/* The following allows to select the kind of product at compile time
* based on the three dimensions of the product.
* This is a compile time mapping from {1,Small,Large}^3 -> {product types} */
diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h
index 483af876f..31c7088e7 100644
--- a/Eigen/src/Core/util/ForwardDeclarations.h
+++ b/Eigen/src/Core/util/ForwardDeclarations.h
@@ -94,10 +94,6 @@ template<typename BinaryOp, typename Lhs, typename Rhs> class CwiseBinaryOp;
template<typename Decomposition, typename Rhstype> class Solve;
template<typename XprType> class Inverse;
-namespace internal {
- template<typename Lhs, typename Rhs> struct product_tag;
-}
-
template<typename Lhs, typename Rhs, int Option = DefaultProduct> class Product;
template<typename Derived> class DiagonalBase;