Class search_vec_ext (o2scl)¶
-
template<class vec_t, class fp_t = double>
class search_vec_ext¶ An extended search_vec which is allowed to return the last element.
Public Functions
-
inline search_vec_ext()¶
Create a blank searching object.
-
inline search_vec_ext(size_t nn, const vec_t &x)¶
Create a searching object for vector
x
of sizenn
.- Idea for Future:
Ensure this is fully tested for vectors with only one element.
Private Functions
-
search_vec_ext(const search_vec_ext<vec_t, fp_t>&)¶
-
search_vec_ext<vec_t, fp_t> &operator=(const search_vec_ext<vec_t, fp_t>&)¶
-
inline search_vec_ext()¶