equal
deleted
inserted
replaced
91 double _last; |
91 double _last; |
92 double _maximum; // keep track of maximum value |
92 double _maximum; // keep track of maximum value |
93 |
93 |
94 public: |
94 public: |
95 NumberSeq(double alpha = DEFAULT_ALPHA_VALUE); |
95 NumberSeq(double alpha = DEFAULT_ALPHA_VALUE); |
96 NumberSeq(NumberSeq* total, int n_parts, NumberSeq** parts); |
|
97 |
96 |
98 virtual void add(double val); |
97 virtual void add(double val); |
99 virtual double maximum() const { return _maximum; } |
98 virtual double maximum() const { return _maximum; } |
100 virtual double last() const { return _last; } |
99 virtual double last() const { return _last; } |
101 |
100 |