Changeset 2262
- Timestamp:
- May 26, 2010, 6:07:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/merge.h
r2257 r2262 23 23 */ 24 24 25 #include "concept_check.h" 25 26 #include "Matrix.h" 26 27 #include "MatrixWeighted.h" … … 29 30 #include "yat/statistics/Average.h" 30 31 32 #include <boost/concept_check.hpp> 31 33 #include <boost/iterator/permutation_iterator.hpp> 32 34 … … 152 154 void merge(const Container2D& x, std::vector<std::string>& labels, Matrix& y) 153 155 { 156 BOOST_CONCEPT_ASSERT((utility::Container2D<Container2D>)); 154 157 merge(x, labels, y, statistics::Average()); 155 158 } … … 159 162 Matrix& result, Functor func) 160 163 { 164 BOOST_CONCEPT_ASSERT((utility::Container2D<Container2D>)); 161 165 std::map<std::string, std::vector<size_t> > label2index; 162 166 detail::merge_labels(labels, label2index); … … 169 173 MatrixWeighted& result, Functor1 func1, Functor2 func2) 170 174 { 175 BOOST_CONCEPT_ASSERT((utility::Container2D<Container2D>)); 171 176 std::map<std::string, std::vector<size_t> > label2index; 172 177 detail::merge_labels(labels, label2index);
Note: See TracChangeset
for help on using the changeset viewer.