Download lib/python3.9/site-packages/Cython/Includes/libcpp/algorithm.pxd from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.77 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/Cython/Includes/libcpp/algorithm.pxd
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/Cython/Includes/libcpp/algorithm.pxd
-
curl -L -o algorithm.pxd https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/Cython/Includes/libcpp/algorithm.pxd
1.77 kB
| from libcpp cimport bool | |
| cdef extern from "<algorithm>" namespace "std" nogil: | |
| # Sorting and searching | |
| bool binary_search[Iter, T](Iter first, Iter last, const T& value) | |
| bool binary_search[Iter, T, Compare](Iter first, Iter last, const T& value, | |
| Compare comp) | |
| Iter lower_bound[Iter, T](Iter first, Iter last, const T& value) | |
| Iter lower_bound[Iter, T, Compare](Iter first, Iter last, const T& value, | |
| Compare comp) | |
| Iter upper_bound[Iter, T](Iter first, Iter last, const T& value) | |
| Iter upper_bound[Iter, T, Compare](Iter first, Iter last, const T& value, | |
| Compare comp) | |
| void partial_sort[Iter](Iter first, Iter middle, Iter last) | |
| void partial_sort[Iter, Compare](Iter first, Iter middle, Iter last, | |
| Compare comp) | |
| void sort[Iter](Iter first, Iter last) | |
| void sort[Iter, Compare](Iter first, Iter last, Compare comp) | |
| # Removing duplicates | |
| Iter unique[Iter](Iter first, Iter last) | |
| Iter unique[Iter, BinaryPredicate](Iter first, Iter last, BinaryPredicate p) | |
| # Binary heaps (priority queues) | |
| void make_heap[Iter](Iter first, Iter last) | |
| void make_heap[Iter, Compare](Iter first, Iter last, Compare comp) | |
| void pop_heap[Iter](Iter first, Iter last) | |
| void pop_heap[Iter, Compare](Iter first, Iter last, Compare comp) | |
| void push_heap[Iter](Iter first, Iter last) | |
| void push_heap[Iter, Compare](Iter first, Iter last, Compare comp) | |
| void sort_heap[Iter](Iter first, Iter last) | |
| void sort_heap[Iter, Compare](Iter first, Iter last, Compare comp) | |
| # Copy | |
| OutputIter copy[InputIter,OutputIter](InputIter,InputIter,OutputIter) | |