├── .clang-format ├── .github └── workflows │ ├── clang-format.yml │ ├── linux.yml │ ├── macos.yml │ └── windows.yml ├── .gitignore ├── CMakeLists.txt ├── LICENSE ├── Makefile ├── README.md ├── include └── tao │ └── seq │ ├── accumulate.hpp │ ├── at_index.hpp │ ├── concatenate.hpp │ ├── config.hpp │ ├── contains.hpp │ ├── contrib │ ├── make_index_of_sequence.hpp │ ├── permutate.hpp │ └── sort_index.hpp │ ├── difference.hpp │ ├── exclusive_scan.hpp │ ├── first.hpp │ ├── functional.hpp │ ├── head.hpp │ ├── inclusive_scan.hpp │ ├── index_of.hpp │ ├── integer_sequence.hpp │ ├── is_all.hpp │ ├── is_any.hpp │ ├── last.hpp │ ├── make_integer_range.hpp │ ├── make_integer_sequence.hpp │ ├── map.hpp │ ├── max.hpp │ ├── min.hpp │ ├── minus.hpp │ ├── multiplies.hpp │ ├── partial_accumulate.hpp │ ├── partial_prod.hpp │ ├── partial_reduce.hpp │ ├── partial_sum.hpp │ ├── plus.hpp │ ├── prod.hpp │ ├── reduce.hpp │ ├── reverse.hpp │ ├── scale.hpp │ ├── select.hpp │ ├── sequence_helper.hpp │ ├── sort.hpp │ ├── sum.hpp │ ├── tail.hpp │ └── zip.hpp └── src └── test └── seq ├── CMakeLists.txt ├── accumulate.cpp ├── at_index.cpp ├── concatenate.cpp ├── contains.cpp ├── contrib_index_of_seq.cpp ├── contrib_permutate.cpp ├── contrib_sort_index.cpp ├── difference.cpp ├── exclusive_scan.cpp ├── head.cpp ├── inclusive_scan.cpp ├── index_of.cpp ├── integer_sequence.cpp ├── is_all.cpp ├── is_any.cpp ├── last.cpp ├── make_integer_range.cpp ├── make_integer_sequence.cpp ├── map.cpp ├── max.cpp ├── min.cpp ├── minus.cpp ├── multiplies.cpp ├── partial_accumulate.cpp ├── partial_sum.cpp ├── plus.cpp ├── prod.cpp ├── reverse.cpp ├── scale.cpp ├── select.cpp ├── sort.cpp ├── sum.cpp ├── tail.cpp └── tester.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/workflows/clang-format.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/.github/workflows/clang-format.yml -------------------------------------------------------------------------------- /.github/workflows/linux.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/.github/workflows/linux.yml -------------------------------------------------------------------------------- /.github/workflows/macos.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/.github/workflows/macos.yml -------------------------------------------------------------------------------- /.github/workflows/windows.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/.github/workflows/windows.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | build 3 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/README.md -------------------------------------------------------------------------------- /include/tao/seq/accumulate.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/accumulate.hpp -------------------------------------------------------------------------------- /include/tao/seq/at_index.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/at_index.hpp -------------------------------------------------------------------------------- /include/tao/seq/concatenate.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/concatenate.hpp -------------------------------------------------------------------------------- /include/tao/seq/config.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/config.hpp -------------------------------------------------------------------------------- /include/tao/seq/contains.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/contains.hpp -------------------------------------------------------------------------------- /include/tao/seq/contrib/make_index_of_sequence.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/contrib/make_index_of_sequence.hpp -------------------------------------------------------------------------------- /include/tao/seq/contrib/permutate.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/contrib/permutate.hpp -------------------------------------------------------------------------------- /include/tao/seq/contrib/sort_index.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/contrib/sort_index.hpp -------------------------------------------------------------------------------- /include/tao/seq/difference.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/difference.hpp -------------------------------------------------------------------------------- /include/tao/seq/exclusive_scan.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/exclusive_scan.hpp -------------------------------------------------------------------------------- /include/tao/seq/first.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/first.hpp -------------------------------------------------------------------------------- /include/tao/seq/functional.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/functional.hpp -------------------------------------------------------------------------------- /include/tao/seq/head.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/head.hpp -------------------------------------------------------------------------------- /include/tao/seq/inclusive_scan.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/inclusive_scan.hpp -------------------------------------------------------------------------------- /include/tao/seq/index_of.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/index_of.hpp -------------------------------------------------------------------------------- /include/tao/seq/integer_sequence.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/integer_sequence.hpp -------------------------------------------------------------------------------- /include/tao/seq/is_all.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/is_all.hpp -------------------------------------------------------------------------------- /include/tao/seq/is_any.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/is_any.hpp -------------------------------------------------------------------------------- /include/tao/seq/last.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/last.hpp -------------------------------------------------------------------------------- /include/tao/seq/make_integer_range.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/make_integer_range.hpp -------------------------------------------------------------------------------- /include/tao/seq/make_integer_sequence.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/make_integer_sequence.hpp -------------------------------------------------------------------------------- /include/tao/seq/map.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/map.hpp -------------------------------------------------------------------------------- /include/tao/seq/max.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/max.hpp -------------------------------------------------------------------------------- /include/tao/seq/min.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/min.hpp -------------------------------------------------------------------------------- /include/tao/seq/minus.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/minus.hpp -------------------------------------------------------------------------------- /include/tao/seq/multiplies.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/multiplies.hpp -------------------------------------------------------------------------------- /include/tao/seq/partial_accumulate.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/partial_accumulate.hpp -------------------------------------------------------------------------------- /include/tao/seq/partial_prod.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/partial_prod.hpp -------------------------------------------------------------------------------- /include/tao/seq/partial_reduce.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/partial_reduce.hpp -------------------------------------------------------------------------------- /include/tao/seq/partial_sum.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/partial_sum.hpp -------------------------------------------------------------------------------- /include/tao/seq/plus.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/plus.hpp -------------------------------------------------------------------------------- /include/tao/seq/prod.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/prod.hpp -------------------------------------------------------------------------------- /include/tao/seq/reduce.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/reduce.hpp -------------------------------------------------------------------------------- /include/tao/seq/reverse.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/reverse.hpp -------------------------------------------------------------------------------- /include/tao/seq/scale.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/scale.hpp -------------------------------------------------------------------------------- /include/tao/seq/select.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/select.hpp -------------------------------------------------------------------------------- /include/tao/seq/sequence_helper.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/sequence_helper.hpp -------------------------------------------------------------------------------- /include/tao/seq/sort.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/sort.hpp -------------------------------------------------------------------------------- /include/tao/seq/sum.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/sum.hpp -------------------------------------------------------------------------------- /include/tao/seq/tail.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/tail.hpp -------------------------------------------------------------------------------- /include/tao/seq/zip.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/include/tao/seq/zip.hpp -------------------------------------------------------------------------------- /src/test/seq/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/CMakeLists.txt -------------------------------------------------------------------------------- /src/test/seq/accumulate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/accumulate.cpp -------------------------------------------------------------------------------- /src/test/seq/at_index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/at_index.cpp -------------------------------------------------------------------------------- /src/test/seq/concatenate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/concatenate.cpp -------------------------------------------------------------------------------- /src/test/seq/contains.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/contains.cpp -------------------------------------------------------------------------------- /src/test/seq/contrib_index_of_seq.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/contrib_index_of_seq.cpp -------------------------------------------------------------------------------- /src/test/seq/contrib_permutate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/contrib_permutate.cpp -------------------------------------------------------------------------------- /src/test/seq/contrib_sort_index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/contrib_sort_index.cpp -------------------------------------------------------------------------------- /src/test/seq/difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/difference.cpp -------------------------------------------------------------------------------- /src/test/seq/exclusive_scan.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/exclusive_scan.cpp -------------------------------------------------------------------------------- /src/test/seq/head.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/head.cpp -------------------------------------------------------------------------------- /src/test/seq/inclusive_scan.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/inclusive_scan.cpp -------------------------------------------------------------------------------- /src/test/seq/index_of.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/index_of.cpp -------------------------------------------------------------------------------- /src/test/seq/integer_sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/integer_sequence.cpp -------------------------------------------------------------------------------- /src/test/seq/is_all.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/is_all.cpp -------------------------------------------------------------------------------- /src/test/seq/is_any.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/is_any.cpp -------------------------------------------------------------------------------- /src/test/seq/last.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/last.cpp -------------------------------------------------------------------------------- /src/test/seq/make_integer_range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/make_integer_range.cpp -------------------------------------------------------------------------------- /src/test/seq/make_integer_sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/make_integer_sequence.cpp -------------------------------------------------------------------------------- /src/test/seq/map.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/map.cpp -------------------------------------------------------------------------------- /src/test/seq/max.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/max.cpp -------------------------------------------------------------------------------- /src/test/seq/min.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/min.cpp -------------------------------------------------------------------------------- /src/test/seq/minus.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/minus.cpp -------------------------------------------------------------------------------- /src/test/seq/multiplies.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/multiplies.cpp -------------------------------------------------------------------------------- /src/test/seq/partial_accumulate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/partial_accumulate.cpp -------------------------------------------------------------------------------- /src/test/seq/partial_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/partial_sum.cpp -------------------------------------------------------------------------------- /src/test/seq/plus.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/plus.cpp -------------------------------------------------------------------------------- /src/test/seq/prod.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/prod.cpp -------------------------------------------------------------------------------- /src/test/seq/reverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/reverse.cpp -------------------------------------------------------------------------------- /src/test/seq/scale.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/scale.cpp -------------------------------------------------------------------------------- /src/test/seq/select.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/select.cpp -------------------------------------------------------------------------------- /src/test/seq/sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/sort.cpp -------------------------------------------------------------------------------- /src/test/seq/sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/sum.cpp -------------------------------------------------------------------------------- /src/test/seq/tail.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/tail.cpp -------------------------------------------------------------------------------- /src/test/seq/tester.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taocpp/sequences/HEAD/src/test/seq/tester.cpp --------------------------------------------------------------------------------