LTL
2.0.x
|
Classes | |
class | ltl::less_nan< T > |
Functions | |
template<class Expr , int N> | |
double | ltl::median_exact (const ExprBase< Expr, N > &a) |
template<class Expr , int N> | |
double | ltl::median_exact (const ExprBase< Expr, N > &a, const typename Expr::value_type nan) |
Return median value of Expr
optionally neglecting values == nan
.
double ltl::median_exact | ( | const ExprBase< Expr, N > & | a | ) |
References ltl::MArray< T, N >::beginRA(), ltl::ExprBase< Derived_T, N_Dims >::derived(), and ltl::MArray< T, N >::endRA().
Referenced by ltl::biweight_mean(), and ltl::robust_sigma().
double ltl::median_exact | ( | const ExprBase< Expr, N > & | a, |
const typename Expr::value_type | nan | ||
) |
median_exact()
may be a high-cost. Expression is evaluated twice. References ltl::MArray< T, N >::beginRA(), ltl::count(), ltl::ExprBase< Derived_T, N_Dims >::derived(), and ltl::MArray< T, N >::endRA().