![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
An extended search_vec which is allowed to return the last element.
#include <search_vec.h>
Definition at line 217 of file search_vec.h.
Public Member Functions | |
search_vec_ext (size_t nn, vec_t &x) | |
Create a searching object for vector x of size nn . | |
size_t | find (const double x0) const |
Search an increasing or decreasing vector for the interval containing x0 | |
size_t | find_inc (const double x0) const |
Search an increasing vector for the interval containing x0 | |
size_t | find_dec (const double x0) const |
Search a decreasing vector for the interval containing x0 |
search_vec_ext< vec_t >::search_vec_ext | ( | size_t | nn, |
vec_t & | x | ||
) | [inline] |
Create a searching object with vector x
of size nn
Definition at line 230 of file search_vec.h.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).