![]() |
Quetzal-CoaTL
The Coalescence Template Library
|
Miscellaneous details. More...
Namespaces | |
namespace | random |
Random sampling processes. | |
Classes | |
class | null_output_iterator |
Allows to discard the output of functions that requires an output iterator. More... | |
class | PointWithId |
Class to associate an indexing semantics to a collection of points. More... | |
Functions | |
template<typename matrix_type > | |
auto | divide_terms_by_row_sum (matrix_type const &A) |
template<typename T > | |
auto | make_neighboring_cells_functor (T const &landscape) |
template<typename Point > | |
size_t | getIndexOfPointInVector (Point const &p, std::vector< Point > const &vect) |
Find the index of a point in a vector. | |
template<std::ranges::range Container> requires (!std::ranges::view<Container>) | |
auto | to () |
Miscellaneous details.
size_t quetzal::utils::getIndexOfPointInVector | ( | Point const & | p, |
std::vector< Point > const & | vect | ||
) |
Find the index of a point in a vector.
p | the point to find |
vect | the vector in points in which to search for the point index |