aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/GeneralProduct.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-02-24 11:41:19 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-02-24 11:41:19 +0100
commit1e0c2f6ddb60c85440fceb3503769bbee80452c2 (patch)
treed1bdf46ca12abe1fef427c6f79ff08f83655d31b /Eigen/src/Core/GeneralProduct.h
parentc98881e1306c94c53ad3de77f9e9036d98dbcf2a (diff)
Hide some deprecated classes.
Diffstat (limited to 'Eigen/src/Core/GeneralProduct.h')
-rw-r--r--Eigen/src/Core/GeneralProduct.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Eigen/src/Core/GeneralProduct.h b/Eigen/src/Core/GeneralProduct.h
index 06aa05ee6..c37526b72 100644
--- a/Eigen/src/Core/GeneralProduct.h
+++ b/Eigen/src/Core/GeneralProduct.h
@@ -13,6 +13,7 @@
namespace Eigen {
+#ifndef EIGEN_TEST_EVALUATORS
/** \class GeneralProduct
* \ingroup Core_Module
*
@@ -34,6 +35,8 @@ namespace Eigen {
*/
template<typename Lhs, typename Rhs, int ProductType = internal::product_type<Lhs,Rhs>::value>
class GeneralProduct;
+#endif // EIGEN_TEST_EVALUATORS
+
enum {
Large = 2,
@@ -154,6 +157,7 @@ template<> struct product_type_selector<Large,Large,Small> { enum
} // end namespace internal
+#ifndef EIGEN_TEST_EVALUATORS
/** \class ProductReturnType
* \ingroup Core_Module
*
@@ -201,6 +205,7 @@ struct ProductReturnType<Lhs,Rhs,LazyCoeffBasedProductMode>
template<typename Lhs, typename Rhs>
struct LazyProductReturnType : public ProductReturnType<Lhs,Rhs,LazyCoeffBasedProductMode>
{};
+#endif
/***********************************************************************
* Implementation of Inner Vector Vector Product
@@ -212,6 +217,7 @@ struct LazyProductReturnType : public ProductReturnType<Lhs,Rhs,LazyCoeffBasedPr
// Cons: this could be a problem if in a meta unrolled algorithm a matrix-matrix
// product ends up to a row-vector times col-vector product... To tackle this use
// case, we could have a specialization for Block<MatrixType,1,1> with: operator=(Scalar x);
+#ifndef EIGEN_TEST_EVALUATORS
namespace internal {
@@ -242,7 +248,7 @@ class GeneralProduct<Lhs, Rhs, InnerProduct>
return Base::coeff(0,0);
}
};
-
+#endif // EIGEN_TEST_EVALUATORS
/***********************************************************************
* Implementation of Outer Vector Vector Product
***********************************************************************/