SourceForge.net Logo timeSeries: timeSeries Class Library

tsBase< T > Class Template Reference
[timeSeries objects]

base class for both timeSeries and timeSeriesArray objects More...

#include <tsBase.h>

Inherited by timeSeries< T >, and timeSeriesArray< T >.

List of all members.

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 >

Detailed Description

template<class T>
class tsBase< T >

base class for both timeSeries and timeSeriesArray objects

Overview
The tsBase class should not be directly used in constructing analysis programs. Use the timeSeries or timeSeriesArray classes instead. Nonetheless the tsBase class provides a number of core functions that are inherited by the timeSeries and timeSeriesArray objects.
All of the public member functions documented here are available to the timeSeries and timeSeriesArray classes through inheritance.
Generated on Tue Mar 16 15:10:52 2010 for timeSeries by  doxygen 1.6.3