NVBIO
|
Defines some general purpose algorithms. More...
#include <nvbio/basic/types.h>
Go to the source code of this file.
Namespaces | |
nvbio | |
Define a vector_view POD type and plain_view() for std::vector. | |
Functions | |
template<typename Iterator , typename Predicate > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE Iterator | nvbio::find_pivot (Iterator begin, const uint32 n, const Predicate predicate) |
template<typename Iterator , typename Value , typename index_type > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE Iterator | nvbio::lower_bound (const Value x, Iterator begin, const index_type n) |
template<typename Iterator , typename Value , typename index_type > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE Iterator | nvbio::upper_bound (const Value x, Iterator begin, const index_type n) |
template<typename Iterator , typename Value , typename index_type > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE index_type | nvbio::lower_bound_index (const Value x, Iterator begin, const index_type n) |
template<typename Iterator , typename Value , typename index_type > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE index_type | nvbio::upper_bound_index (const Value x, Iterator begin, const index_type n) |
template<typename input_iterator1 , typename input_iterator2 , typename output_iterator > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void | nvbio::merge (input_iterator1 first1, input_iterator1 end1, input_iterator2 first2, input_iterator2 end2, output_iterator output) |
template<typename key_iterator1 , typename key_iterator2 , typename value_iterator1 , typename value_iterator2 , typename key_iterator , typename value_iterator > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void | nvbio::merge_by_key (key_iterator1 first1, key_iterator1 end1, key_iterator2 first2, key_iterator2 end2, value_iterator1 values1, value_iterator2 values2, key_iterator output_keys, value_iterator output_values) |
Defines some general purpose algorithms.
Definition in file algorithms.h.