#include <gmp.h>
#include <stdexcept>
#include "utils.H"
#include <cmath>


Go to the source code of this file.
| Namespaces | |
| namespace | numbpart | 
| Classes | |
| class | numbpart::Cnumbpart | 
| Functions | |
| int | numbpart::omega (const int m) | 
| void | numbpart::numbpart (mpz_t res, const int n) | 
p(n) = number of unordered partitions of n = # solutions of x[1]+x[2]+...+x[n]=n, with x[i]>=x[i+1], x[n+1]=0, i=1..n
Reference:
Definition in file numbpart.cc.
 1.5.4
 1.5.4