HyperHDG
Classes | Namespaces | Functions
combinations.h File Reference
#include <array>
#include <cassert>
#include <ostream>
Include dependency graph for combinations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TPCC::Combination< n, k, T >
 Dataset for a combination k out of n. More...
 
struct  TPCC::Combinations< n, k >
 

Namespaces

 TPCC
 

Functions

template<typename T = unsigned int>
constexpr T TPCC::binomial (T n, T k)
 Compute the binomial coefficient n over k. More...
 
template<typename T = unsigned int, T n, T k>
constexpr std::array< T, n - k > TPCC::compute_complement (std::array< T, k > combi)