Ignore:
Timestamp:
May 12, 2008, 10:21:19 AM (14 years ago)
Author:
Jari Häkkinen
Message:

Reverting changes that break the interface of Averager and AveragerPair? classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4-stable/yat/statistics/Averager.h

    r1290 r1294  
    77  Copyright (C) 2004 Jari Häkkinen, Peter Johansson
    88  Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér
    9   Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
     9  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
     10  Copyright (C) 2008 Peter Johansson
    1011
    1112  This file is part of the yat library, http://trac.thep.lu.se/yat
     
    5556    /// number of samples \a n.
    5657    ///
    57     Averager(double x, double xx, long n);
     58    Averager(double x, double xx, unsigned long n);
    5859
    5960    ///
     
    6566    /// Adding \a n (default=1) number of data point(s) with value \a d.
    6667    ///
    67     void add(double d, long n=1);
     68    void add(double d, unsigned long n=1);
    6869
    6970    /**
     
    8586    /// @return Number of data points
    8687    ///
    87     long n(void) const;
     88    unsigned long n(void) const;
    8889
    8990    ///
     
    178179
    179180  private:
    180     long  n_;
     181    unsigned long n_;
    181182    double  x_, xx_;
    182183  };
Note: See TracChangeset for help on using the changeset viewer.