CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
isMonotonous.h File Reference

A few simple template functions for checking monotonicity of container values. More...

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<class Iter >
bool npstat::isMonotonous (Iter const begin, Iter const end)
 
template<class Iter >
bool npstat::isNonDecreasing (Iter begin, Iter const end)
 
template<class Iter >
bool npstat::isNonIncreasing (Iter begin, Iter const end)
 
template<class Iter >
bool npstat::isStrictlyDecreasing (Iter begin, Iter const end)
 
template<class Iter >
bool npstat::isStrictlyIncreasing (Iter begin, Iter const end)
 
template<class Iter >
bool npstat::isStrictlyMonotonous (Iter const begin, Iter const end)
 

Detailed Description

A few simple template functions for checking monotonicity of container values.

Author: I. Volobouev

July 2012

Definition in file isMonotonous.h.