statistics.h File Reference
#include <cstddef>
#include <limits>
#include <numeric>
#include <algorithm>
#include "interop/util/assert.h"
#include "interop/util/math.h"

Go to the source code of this file.

Classes

struct  parameter_none_type
 
struct  const_member_function_w< T, R, P1 >
 
struct  const_member_function_w< T, R, parameter_none_type >
 
struct  const_member_function_less_w< T, R, P1 >
 
struct  dummy_arg
 
struct  operator_none
 
struct  nan_check< UnaryOp >
 

Namespaces

 illumina
 
 illumina::interop
 
 illumina::interop::util
 
 illumina::interop::util::op
 

Functions

template<class T , typename R , typename P2 , typename P1 >
const_member_function_w< T, R, P1 > const_member_function (const P2 &param1, R(T::*func)(P1) const)
 
template<class T , typename R >
const_member_function_w< T, R > const_member_function (R(T::*func)() const)
 
template<class T , typename R >
const_member_function_w< T, R > const_member_function (dummy_arg, R(T::*func)() const)
 
template<class T , typename R , typename P2 , typename P1 >
const_member_function_less_w< T, R, P1 > const_member_function_less (const P2 &param1, R(T::*func)(P1) const)
 
template<class T , typename R >
const_member_function_less_w< T, R > const_member_function_less (R(T::*func)() const)
 
template<typename I , typename O , typename F >
void outliers_lower (I beg, I end, const F bound, O out)
 
template<typename I , typename O , typename F >
void outliers_upper (I beg, I end, const F bound, O out)
 
template<typename I >
percentile (I beg, I end, const size_t percentile)
 
template<typename I , typename Compare >
percentile (I beg, I end, const size_t percentile, Compare comp)
 
template<typename F >
interpolate_linear (const F y1, const F y2, const F x1, const F x2, const F xt)
 
template<typename F , typename I >
percentile_sorted (I beg, I end, const size_t percentile)
 
template<typename F , typename I , typename Op >
percentile_sorted (I beg, I end, const size_t percentile, Op op)
 
template<typename I , typename UnaryOp >
remove_nan (I beg, I end, UnaryOp op)
 
template<typename I >
median (I beg, I end)
 
template<typename I , typename Compare >
median (I beg, I end, Compare comp)
 
template<typename F , typename I >
median_interpolated (I beg, I end)
 
template<typename F , typename I , typename Compare >
median_interpolated (I beg, I end, Compare comp)
 
template<typename F , typename I , typename Compare , typename Op >
median_interpolated (I beg, I end, Compare comp, Op op)
 
template<typename R , typename I , typename BinaryOp >
nan_mean (I beg, I end, BinaryOp op)
 
template<typename R , typename I , typename BinaryOp >
nan_variance_with_mean (I beg, I end, const R mean_val, BinaryOp op)
 
template<typename R , typename I , typename BinaryOp >
nan_variance (I beg, I end, BinaryOp op)
 
template<typename R , typename I , typename BinaryOp >
mean (I beg, I end, BinaryOp op)
 
template<typename R , typename I , typename BinaryOp >
variance_with_mean (I beg, I end, const R mean_val, BinaryOp op)
 
template<typename R , typename I , typename BinaryOp >
variance (I beg, I end, BinaryOp op)
 
template<typename R , typename I >
mean (I beg, I end)
 
template<typename R , typename I >
variance (I beg, I end)
 
template<typename R , typename I >
variance_with_mean (I beg, I end, const R mean)
 

Detailed Description

Functions to calculate basic statistics over InterOp metric sets

This file contains generic statistic algorithms that will work directory over InterOp metric sets.

See also
src/examples/example4.cpp
Date
3/1/16
Version
1.0