EcGen
1.1.8
Loading...
Searching...
No Matches
set_partition_old.hpp
Go to the documentation of this file.
1
35
36
#pragma once
37
38
#include <py2cpp/recursive_gen.hpp>
39
// #include <type_traits>
40
#include <utility>
// neccessary???
41
42
namespace
ecgen
{
43
55
extern
auto
set_partition_gen_old
(
int
n,
int
k) -> py::RecursiveGenerator<std::pair<int, int>>;
56
57
}
// namespace ecgen
ecgen
Definition
combin.hpp:13
ecgen::set_partition_gen_old
auto set_partition_gen_old(int n, int k) -> py::RecursiveGenerator< std::pair< int, int > >
Generates all set partitions of {1,...,n} into k blocks (legacy).
ecgen
set_partition_old.hpp
Generated by
1.15.0