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
. 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] |
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] |
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] |
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] |