Changeset 1445 for trunk/yat/statistics


Ignore:
Timestamp:
Aug 28, 2008, 12:53:11 AM (13 years ago)
Author:
Peter
Message:

adding Centralizer

Location:
trunk/yat/statistics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/Average.h

    r1339 r1445  
    4444       \return average of range
    4545     */
    46     template<typename ForwardIterator>
    47     inline double operator()(ForwardIterator first, ForwardIterator last) const
     46    template<typename InputIterator>
     47    inline double operator()(InputIterator first, InputIterator last) const
    4848    {
    49       typename averager<ForwardIterator>::type a;
     49      typename averager<InputIterator>::type a;
    5050      add(a, first, last);
    5151      return a.mean();
  • trunk/yat/statistics/Averager.h

    r1437 r1445  
    184184
    185185  /**
    186      \brief adding a ranges of values to Averager \a a
     186     \brief adding a range of values to Averager \a a
    187187   */
    188188  template <typename Iter>
Note: See TracChangeset for help on using the changeset viewer.