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 Expr , int N>
MArray<int,1> ltl::histogram ( const ExprBase< Expr, N > &  a,
const int  bins,
const typename Expr::value_type  min,
const typename Expr::value_type  max,
double *const   step = NULL,
int *const   sum = NULL 
) [inline]
template<class Expr , int N>
MArray<int,1> ltl::histogram ( const ExprBase< Expr, N > &  a,
const int  bins,
const typename Expr::value_type  min,
const typename Expr::value_type  max,
const typename Expr::value_type  nan,
double *const   step = NULL,
int *const   sum = NULL 
) [inline]

Generated on 19 Feb 2015 for LTL by  doxygen 1.6.1