aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen
diff options
context:
space:
mode:
authorGravatar Thomas Capricelli <orzel@freehackers.org>2009-11-10 21:34:43 +0100
committerGravatar Thomas Capricelli <orzel@freehackers.org>2009-11-10 21:34:43 +0100
commitdf117a64c726d56ef7f8b83c7a4b146e77bdb10f (patch)
tree3948c4ee060f402a252fdc2221bac60ab77c72f7 /unsupported/Eigen
parentae76c977041e7584324738a3075d4a926508dd90 (diff)
parentf647fb8dd4317c074a9ec7ccaee78a8281d9e344 (diff)
merge with main repository
Diffstat (limited to 'unsupported/Eigen')
-rw-r--r--unsupported/Eigen/src/Skyline/SkylineProduct.h31
1 files changed, 10 insertions, 21 deletions
diff --git a/unsupported/Eigen/src/Skyline/SkylineProduct.h b/unsupported/Eigen/src/Skyline/SkylineProduct.h
index 85ccacac8..9586576b5 100644
--- a/unsupported/Eigen/src/Skyline/SkylineProduct.h
+++ b/unsupported/Eigen/src/Skyline/SkylineProduct.h
@@ -25,17 +25,6 @@
#ifndef EIGEN_SKYLINEPRODUCT_H
#define EIGEN_SKYLINEPRODUCT_H
-template<typename Lhs, typename Rhs> struct ei_skyline_product_mode {
-
- enum {
- value = (Rhs::Flags & Lhs::Flags & SkylineBit) == SkylineBit
- ? SkylineTimeSkylineProduct
- : (Lhs::Flags & SkylineBit) == SkylineBit
- ? SkylineTimeDenseProduct
- : DenseTimeSkylineProduct
- };
-};
-
template<typename Lhs, typename Rhs, int ProductMode>
struct SkylineProductReturnType {
typedef const typename ei_nested<Lhs, Rhs::RowsAtCompileTime>::type LhsNested;
@@ -290,16 +279,16 @@ struct ei_skyline_product_selector<Lhs, Rhs, ResultType, ColMajor> {
}
};
-template<typename Derived>
-template<typename Lhs, typename Rhs >
-Derived & MatrixBase<Derived>::lazyAssign(const SkylineProduct<Lhs, Rhs, SkylineTimeDenseProduct>& product) {
- typedef typename ei_cleantype<Lhs>::type _Lhs;
- ei_skyline_product_selector<typename ei_cleantype<Lhs>::type,
- typename ei_cleantype<Rhs>::type,
- Derived>::run(product.lhs(), product.rhs(), derived());
-
- return derived();
-}
+// template<typename Derived>
+// template<typename Lhs, typename Rhs >
+// Derived & MatrixBase<Derived>::lazyAssign(const SkylineProduct<Lhs, Rhs, SkylineTimeDenseProduct>& product) {
+// typedef typename ei_cleantype<Lhs>::type _Lhs;
+// ei_skyline_product_selector<typename ei_cleantype<Lhs>::type,
+// typename ei_cleantype<Rhs>::type,
+// Derived>::run(product.lhs(), product.rhs(), derived());
+//
+// return derived();
+// }
// skyline * dense