Classes | Namespaces | Functions
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 <vector>
Include dependency graph for stl_helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gnsstk::ListStats< bt >
 ListStats (i.e. Statistics on a list of numbers) More...
 

Namespaces

 gnsstk
 For Sinex::InputHistory.
 

Functions

template<class For >
For gnsstk::max (const std::list< For > &lst)
 A simple way to get the max value of a list of numbers. More...
 
template<class For >
For gnsstk::min (const std::list< For > &lst)
 A simple way to get the minimum value of a list of numbers. More...
 
template<class bt >
ListStats< bt > gnsstk::stats (const std::list< bt > &lst)
 
template<class T >
std::vector< T > gnsstk::vec_intersect (const std::vector< T > &v1, const std::vector< T > &v2)
 
template<class T >
std::vector< T > gnsstk::vec_notintersect (const std::vector< T > &v1, const std::vector< T > &v2)
 
template<class T >
int gnsstk::vectorindex (const std::vector< T > &vec, const T &value)
 


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:43