stl_helpers.hpp File Reference


Detailed Description

Useful functions that take advantage of STL containers.

Definition in file stl_helpers.hpp.

#include <cmath>
#include <algorithm>
#include <list>

Include dependency graph for stl_helpers.hpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  gpstk

Classes

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

Functions

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


Generated on Wed May 23 03:31:19 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1