faif
|
#include <TimeSeries.hpp>
Public Types | |
typedef std::vector< TimeValueDigit >::iterator | iterator |
typedef std::vector< TimeValueDigit >::const_iterator | const_iterator |
Public Member Functions | |
TimeSeriesDigit () | |
c-tor, empty timeseries More... | |
TimeSeriesDigit (const TimeValueDigit *begin, const TimeValueDigit *end) | |
c-tor, from range More... | |
TimeSeriesDigit (const_iterator begin, const_iterator end) | |
c-tor, from range More... | |
TimeSeriesDigit (const Value *begin, const Value *end) | |
, c-tor from C style table of values. The timestamps are 0,1,..,n More... | |
TimeSeriesDigit (const TimeSeriesDigit &t) | |
copy c-tor More... | |
TimeSeriesDigit (const TimeSeriesDigit &ts, const DigitTime &offset) | |
c-tor from timeseries, the timestamps are modified, the offset is added More... | |
TimeSeriesDigit & | operator= (const TimeSeriesDigit &t) |
TimeSeriesDigit | autoCorrelationE (int scope) const |
double | getSum () const |
double | getSumSquared () const |
double | getAvg () const |
double | getSigmaSquared () const |
double | getSigma () const |
Public Attributes | |
T | elements |
STL member. More... | |
the timeseries (collection), time as DigitTime
|
inline |
c-tor, empty timeseries
|
inline |
c-tor, from range
|
inline |
c-tor, from range
|
inline |
, c-tor from C style table of values. The timestamps are 0,1,..,n
|
inline |
copy c-tor
|
inline |
c-tor from timeseries, the timestamps are modified, the offset is added
|
inline |
operator =
|
inline |
the autocorelation of timeseries. The average is not substracted. out(0) = sum(i=0, i<n) in(i)*in(i) out(1) = sum(i=0, i<n-1) in(i)*in(i+1) out(2) = sum(i=0, i<n-2) in(i)*in(i+2) ...
|
inline |
the sum of values of timeseries
References faif::timeseries::TimeValueDigit::getValue().
|
inline |
the sum of square of values of timeseries
References faif::timeseries::TimeValueDigit::getValue().
|
inline |
the average of values of timeseries or 0.0 if the timeseries is empty
Referenced by faif::timeseries::correlation().
|
inline |
the square of variation
|
inline |
the variation (slower calculation)
Referenced by faif::timeseries::correlation().
|
inherited |
STL member.