IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
BasicStatistics.h File Reference

Basic statistical functions. More...

#include <IPSDKMath/IPSDKMathExports.h>
#include <IPSDKUtil/BaseTypes.h>
#include <IPSDKUtil/Tools/NumericLimits.h>
#include <algorithm>
#include <vector>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::math
 Namespace agregating IPSDK mathematical routines and classes.
 

Functions

template<typename T >
ipsdk::math::median (std::vector< T > &coll)
 function allowing to compute median of a collection More...
 
template<typename T >
IPSDKMATH_API ipReal64 ipsdk::math::mean (const std::vector< T > &coll)
 function allowing to compute mean for a vector
 
template<typename T >
IPSDKMATH_API ipReal64 ipsdk::math::variance (const std::vector< T > &coll)
 function allowing to compute variance for a vector
 
template<typename T >
IPSDKMATH_API ipReal64 ipsdk::math::stdDev (const std::vector< T > &coll)
 function allowing to compute standard deviation for a vector
 
template<typename T >
IPSDKMATH_API std::pair< ipReal64, ipReal64 > ipsdk::math::meanAndVariance (const std::vector< T > &coll)
 function allowing to compute mean and variance for a vector
 
template<typename T >
IPSDKMATH_API ipReal64 ipsdk::math::correlation (const std::vector< T > &coll1, const std::vector< T > &coll2)
 function allowing to compute correlation between two vectors of data More...
 
template<typename IteratorType >
void ipsdk::math::extractMinMax (const IteratorType &iterBegin, const IteratorType &iterEnd, typename std::iterator_traits< IteratorType >::value_type &minValue, typename std::iterator_traits< IteratorType >::value_type &maxValue)
 function allowing to compute minimum and maximum value for a collection
 
template<typename ContainerType >
void ipsdk::math::extractMinMax (const ContainerType &coll, typename ContainerType::value_type &minValue, typename ContainerType::value_type &maxValue)
 function allowing to compute minimum and maximum value for a collection
 

Detailed Description

Basic statistical functions.

Author
E. Noirfalise
Date
2015/07/27