|
template bool | addToOrderedVector (const long &, std::vector< long > &, std::less< long >) |
|
template<typename T , typename Comparator = std::less<T>> |
bool | addToOrderedVector (const T &value, std::vector< T > &list, Comparator comparator=Comparator()) |
|
template bool | addToOrderedVector (const unsigned long &, std::vector< unsigned long > &, std::less< unsigned long >) |
|
std::size_t | countDigits (int n) |
|
template<class T > |
void | eraseValue (std::vector< T > &, const T &) |
|
void | extractWithoutReplacement (int n, int m, std::vector< int > &list) |
|
unsigned long | factorial (unsigned long n) |
|
template std::vector< long >::const_iterator | findInOrderedVector (const long &, const std::vector< long > &, std::less< long >) |
|
template<typename T , typename Comparator = std::less<T>> |
std::vector< T >::const_iterator | findInOrderedVector (const T &value, const std::vector< T > &list, Comparator comparator=Comparator()) |
|
template std::vector< unsignedlong >::const_iterator | findInOrderedVector (const unsigned long &, const std::vector< unsigned long > &, std::less< unsigned long >) |
|
template<class T > |
std::vector< T > | intersectionVector (const std::vector< T > &, const std::vector< T > &) |
|
template<typename T > |
std::false_type | is_iterable_impl (...) |
|
template<typename T > |
auto | is_iterable_impl (int) -> decltype(std::begin(std::declval< T & >()) !=std::end(std::declval< T & >()),++std::declval< decltype(std::begin(std::declval< T & >()))& >(), *std::begin(std::declval< T & >()), std::true_type{}) |
|
template<typename OrderContainer , typename DataContainer > |
void | reorderContainer (OrderContainer &order, DataContainer &v, std::size_t size) |
|
template<typename T > |
void | reorderVector (std::vector< size_t > &order, std::vector< T > &v, std::size_t size) |
|
template<typename Container , typename Index > |
void | swapValue (Container &v, Index i, Index j) |
|
template<> |
void | swapValue (std::vector< bool > &v, std::size_t i, std::size_t j) |
|
template<> |
void | swapValue (std::vector< bool > &v, std::size_t i, std::size_t j) |
|
Namespace for generic utility functions.