![]() |
KASKADE 7 development version
|
#include <algorithm>#include <numeric>#include <cassert>#include <functional>Go to the source code of this file.
Namespaces | |
| namespace | Kaskade |
Functions | |
| constexpr int | Kaskade::binomial (int n, int k) |
| Computes the binomial coefficient \( \binom{n}{k} \). | |
| template<size_t m> | |
| size_t | Kaskade::multinomial (std::array< size_t, m > const &ks) |
| Computes the multinomial coefficient \( \binom{n}{k_1,\dots,k_m}\), where \( n = \sum_{i=1}^m k_i \). | |