Function vector_bin_size_scott (o2scl)¶
-
template<class vec_t>
double o2scl::vector_bin_size_scott(size_t n, const vec_t &v)¶ Optimal bin size using Scott’s method for the first
n
elements.
-
template<class vec_t>
double o2scl::vector_bin_size_scott(const vec_t &v)¶ Optimal bin size using Scott’s method.
This function computes the optimal bin size
of a histogram using the expressionFrom [Scott79].
Note
If
n
is less than or equal to 1, this function returns 0.0 without calling the error handler.