Evo C++ Library v0.5.1
Namespaces | Macros | Functions
alg.h File Reference

Evo general algorithms. More...

Go to the source code of this file.

Namespaces

 evo
 Evo C++ Library namespace.
 

Macros

#define INCL_evo_alg_h
 

Functions

template<class T >
T & applymax (T &val, T &max)
 
template<class T >
T & applymin (T &val, T &min)
 
template<class T >
T & applyminmax (T &val, T &min, T &max)
 
template<class T >
T & constrain (T &val, T &min, T &max)
 
template<class T >
T & constrainmax (T &val, T &max)
 
template<class T >
T & constrainmin (T &val, T &min)
 
template<class T >
first (T val1, T val2)
 
template<class T >
first (T val1, T val2, T val3)
 
template<class T >
T & max (T &a, T &b)
 Returns highest of given values. More...
 
template<class T >
T & max (T &a, T &b, T &c)
 Returns highest of given values. More...
 
template<class T >
T & min (T &a, T &b)
 Returns lowest of given values. More...
 
template<class T >
T & min (T &a, T &b, T &c)
 Returns lowest of given values. More...
 
template<class T >
bool validate (T &val, T &min, T &max)
 
template<class T >
T & validate (T &val, T &min, T &max, T &invalid)
 

Detailed Description

Evo general algorithms.

Macro Definition Documentation

◆ INCL_evo_alg_h

#define INCL_evo_alg_h