median_estimate( Expr, int bins, T min, T max [, T nan] )
[Double valued reductions]

Functions


Detailed Description

Return mode of a histogram of Expr (see histogram ( Expr, int bins, T min, T max [, T nan] ) below).

Function Documentation

template<class T>
double ltl::mode_histogram ( const MArray< T, 1 > &  h,
const double  min,
const double  step,
const int  sum 
) [inline]

Helper class for median_estimate().

Return mode of a histogram of bins bins, starting at min, with step size step (see histogram ( Expr, int bins, T min, T max [, T nan] ) below). (Exactly: left boundary of bin holding the bisector of the histogram)

template<class T, int N>
double ltl::median_estimate ( const MArray< T, N > &  a,
const int  bins,
const T  min,
const T  max 
) [inline]

template<class Expr, int N>
double ltl::median_estimate ( ExprNode< Expr, N >  e,
const int  bins,
const typename ExprNode< Expr, N >::value_type  min,
const typename ExprNode< Expr, N >::value_type  max 
) [inline]

template<class T, int N>
double ltl::median_estimate ( const MArray< T, N > &  a,
const int  bins,
const T  min,
const T  max,
const T  nan 
) [inline]

template<class Expr, int N>
double ltl::median_estimate ( ExprNode< Expr, N >  e,
const int  bins,
const typename ExprNode< Expr, N >::value_type  min,
const typename ExprNode< Expr, N >::value_type  max,
const typename ExprNode< Expr, N >::value_type  nan 
) [inline]


Generated on Wed Mar 11 17:44:35 2009 for LTL by  doxygen 1.5.3