A few simple template functions for checking monotonicity of container values. More...
Go to the source code of this file.
Namespaces | |
namespace | 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) |
A few simple template functions for checking monotonicity of container values.
Author: I. Volobouev
July 2012
Definition in file isMonotonous.h.