histogram ( Expr, int bins, T min, T max [, T nan] )
[Statistical Functions for MArrays and Expressions]

Functions


Detailed Description

Return the histogram of Expr as an ltl::MArray<T, 1>, build bins bins in the range [min, max), in every bin include left boundary, exclude right, optionally neglect values == nan.

Function Documentation

template<class T, int N>
MArray<int, 1> ltl::histogram ( const MArray< T, N > &  a,
const int  bins,
const T  min,
const T  max,
double *const   step = NULL,
int *const   sum = NULL 
) [inline]

template<class Expr, int N>
MArray<int, 1> ltl::histogram ( const ExprNode< Expr, N > &  e,
const int  bins,
const typename ExprNode< Expr, N >::value_type  min,
const typename ExprNode< Expr, N >::value_type  max,
double *const   step = NULL,
int *const   sum = NULL 
) [inline]

template<class T, int N>
MArray<int, 1> ltl::histogram ( const MArray< T, N > &  a,
const int  bins,
const T  min,
const T  max,
const T  nan,
double *const   step = NULL,
int *const   sum = NULL 
) [inline]

template<class Expr, int N>
MArray<int, 1> ltl::histogram ( const 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,
double *const   step = NULL,
int *const   sum = NULL 
) [inline]


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