Function vector_bound_int (o2scl)¶
-
template<class vec_t, class vec2_t>
int o2scl::vector_bound_int(size_t n, vec_t &x, vec2_t &y, double frac, double &low, double &high, int boundaries = 0, int verbose = 0, bool err_on_fail = true)¶ Find the boundaries of the region enclosing a integral.
This function finds the boundaries of the region which has integral equal to
frac
times the full integral from the lower x limit to the upper x limit.