Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Namespaces | Functions
MathFunctions.h File Reference
#include <ICLUtils/CompatMacros.h>
#include <ICLUtils/Random.h>
#include <vector>
#include <algorithm>
#include <cmath>
#include <ipps.h>

Go to the source code of this file.

Namespaces

namespace  icl
 

The ICL-namespace.


namespace  icl::math

Functions

template<class ForwardIterator >
float icl::math::euclidian (ForwardIterator v1Begin, ForwardIterator v1End, ForwardIterator v2Begin)
 Calculate the euclidian distance of two vectors v1 and v2.
template<class T >
float icl::math::euclidian (const std::vector< T > &a, const std::vector< T > &b)
 Calculate the euclidian distance of points a and b.
template<class ForwardIterator >
double icl::math::mean (ForwardIterator begin, ForwardIterator end)
 computes the mean value of a data range
template<class ForwardIterator >
double icl::math::variance (ForwardIterator begin, ForwardIterator end, double mean, bool empiricMean=true)
 Compute the variance of a given data range with given mean value.
template<class ForwardIterator >
double icl::math::variance (ForwardIterator begin, ForwardIterator end)
 Compute the variance of a given data range.
template<class ForwardIterator >
double icl::math::stdDeviation (ForwardIterator begin, ForwardIterator end, double mean, bool empiricMean=true)
 Compute std-deviation of a data set with given mean (calls sqrt(variance(..))
template<class ForwardIterator >
double icl::math::stdDeviation (ForwardIterator begin, ForwardIterator end)
 Compute std-deviation of a data set.
template<class ForwardIterator >
std::pair< double, double > icl::math::meanAndStdDev (ForwardIterator begin, ForwardIterator end)
 Calculates mean and standard deviation of given data range simultanously.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines