Changeset 886
- Timestamp:
- Sep 24, 2007, 9:01:06 PM (15 years ago)
- Location:
- trunk/yat/statistics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/statistics/Averager.h
r865 r886 191 191 }; 192 192 193 194 /** 195 \brief adding a ranges of values to Averager \a a 196 */ 197 template <class Iter> 198 void add(Averager& a, Iter first, Iter last) 199 { 200 for ( ; first != last; ++first) 201 a.add(*first); 202 } 203 204 193 205 // Template implementations 194 206 template <typename T> -
trunk/yat/statistics/AveragerPair.h
r865 r886 169 169 }; 170 170 171 /** 172 \brief adding a ranges of values to AveragerPair \a ap 173 */ 174 template <class Iter1, class Iter2> 175 void add(AveragerPair& ap, Iter1 first1, Iter1 last1, Iter2 first2) 176 { 177 for ( ; first1 != last1; ++first1, ++first2) 178 ap.add(*first1, *first2); 179 } 180 181 171 182 // Template implementations 172 183 template <typename T1, typename T2>
Note: See TracChangeset
for help on using the changeset viewer.