diff options
author | 2009-11-18 14:52:52 +0100 | |
---|---|---|
committer | 2009-11-18 14:52:52 +0100 | |
commit | 0529ecfe1b43d40e40755a2d856188d3ded2c14e (patch) | |
tree | 8f3cebe51db62e2f65c48d547cc3e89de5285669 /Eigen/src/Sparse/SparseCwiseBinaryOp.h | |
parent | 1e62e0b0d823078aa2d9b8ed2c93f7bc889df177 (diff) |
Big refactoring/cleaning in the spasre module with
in particular the addition of a selfadjointView, and the
extension of triangularView. The rest is cleaning and does not
change/extend the API.
Diffstat (limited to 'Eigen/src/Sparse/SparseCwiseBinaryOp.h')
-rw-r--r-- | Eigen/src/Sparse/SparseCwiseBinaryOp.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/Eigen/src/Sparse/SparseCwiseBinaryOp.h b/Eigen/src/Sparse/SparseCwiseBinaryOp.h index 9c354b4d3..5dd7edc00 100644 --- a/Eigen/src/Sparse/SparseCwiseBinaryOp.h +++ b/Eigen/src/Sparse/SparseCwiseBinaryOp.h @@ -42,35 +42,6 @@ // 4 - dense op dense product dense // generic dense -// template<typename BinaryOp, typename Lhs, typename Rhs> -// struct ei_traits<SparseCwiseBinaryOp<BinaryOp, Lhs, Rhs> > -// { -// typedef typename ei_result_of< -// BinaryOp( -// typename Lhs::Scalar, -// typename Rhs::Scalar -// ) -// >::type Scalar; -// typedef typename ei_promote_storage_type<typename ei_traits<Lhs>::StorageType, -// typename ei_traits<Rhs>::StorageType>::ret StorageType; -// typedef typename Lhs::Nested LhsNested; -// typedef typename Rhs::Nested RhsNested; -// typedef typename ei_unref<LhsNested>::type _LhsNested; -// typedef typename ei_unref<RhsNested>::type _RhsNested; -// enum { -// LhsCoeffReadCost = _LhsNested::CoeffReadCost, -// RhsCoeffReadCost = _RhsNested::CoeffReadCost, -// LhsFlags = _LhsNested::Flags, -// RhsFlags = _RhsNested::Flags, -// RowsAtCompileTime = Lhs::RowsAtCompileTime, -// ColsAtCompileTime = Lhs::ColsAtCompileTime, -// MaxRowsAtCompileTime = Lhs::MaxRowsAtCompileTime, -// MaxColsAtCompileTime = Lhs::MaxColsAtCompileTime, -// Flags = (int(LhsFlags) | int(RhsFlags)) & HereditaryBits, -// CoeffReadCost = LhsCoeffReadCost + RhsCoeffReadCost + ei_functor_traits<BinaryOp>::Cost -// }; -// }; - template<> struct ei_promote_storage_type<Dense,Sparse> { typedef Sparse ret; }; @@ -82,16 +53,9 @@ class CwiseBinaryOpImpl<BinaryOp, Lhs, Rhs, Sparse> : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> > { public: - class InnerIterator; - typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived; EIGEN_SPARSE_PUBLIC_INTERFACE(Derived) -// typedef typename ei_traits<SparseCwiseBinaryOp>::LhsNested LhsNested; -// typedef typename ei_traits<SparseCwiseBinaryOp>::RhsNested RhsNested; -// typedef typename ei_unref<LhsNested>::type _LhsNested; -// typedef typename ei_unref<RhsNested>::type _RhsNested; - }; template<typename BinaryOp, typename Lhs, typename Rhs, typename Derived, |