STL helpers


Classes

struct  ListStats
 ListStats (i.e. Statistics on a list of numbers). More...

Functions

template<class For>
For gpstk::max (const std::list< For > &lst)
 A simple way to get the max value of a list of numbers.
template<class For>
For gpstk::min (const std::list< For > &lst)
 A simple way to get the minimum value of a list of numbers.
template<class bt>
ListStats< bt > gpstk::stats (const std::list< bt > &lst)
 Compute the statistics for a list of numbers.


Function Documentation

For max const std::list< For > &  lst  ) 
 

A simple way to get the max value of a list of numbers.

Definition at line 64 of file stl_helpers.hpp.

Referenced by Stats< double >::Add(), BivarStats::add(), CheckPRData::CheckPRData(), BivarStats::estimateDeviation(), ListStats::ListStats(), Stats< double >::Load(), Stats< double >::operator+=(), SimpleFilter::SimpleFilter(), and BivarStats::subtract().

For min const std::list< For > &  lst  ) 
 

A simple way to get the minimum value of a list of numbers.

Definition at line 70 of file stl_helpers.hpp.

Referenced by Stats< double >::Add(), CheckPRData::CheckPRData(), DayTime::DayTime(), ListStats::ListStats(), Stats< double >::Load(), SatOrbitStore::loadGNV1BFile(), Stats< double >::operator+=(), DayTime::setYMDHMS(), and SimpleFilter::SimpleFilter().

ListStats<bt> stats const std::list< bt > &  lst  ) 
 

Compute the statistics for a list of numbers.

This algorithm is written to be stable in computing the standard deviation for sequences of number with a large mean value. (i.e. it doesn't accumulate sum of the value squared.)

Definition at line 91 of file stl_helpers.hpp.

References gpstk::max(), gpstk::min(), and gpstk::sqrt().


Generated on Wed Feb 8 03:31:25 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1