base class for both timeSeries and timeSeriesArray objects More...
#include <tsBase.h>
Inherited by timeSeries< T >, and timeSeriesArray< T >.
Public Member Functions | |
std::string | get_varName () const |
return the variable name associated with the object | |
int | getMaxIndex () const |
return the maximum index associated with the object | |
int | getMinIndex () const |
return the minimum index associated with the object | |
int | get_nElem () const |
return the number of array dimensions associated with the object | |
int | index (double t) |
convert a time to a sample index | |
double | time (int k) const |
convert a sample index to a time | |
int | length () const |
returns the number of data samples associated with the object | |
double | sampleTime () const |
returns the sample time | |
virtual tsResult | mean () |
computes the mean value of the object | |
virtual tsResult | sum () const |
computes the sum of the object values | |
Friends | |
class | dataFile |
class | stateFlag |
class | tsVal< T > |
base class for both timeSeries and timeSeriesArray objects