Classes | |
class | Cnumbpart |
Functions | |
int | omega (const int m) |
void | numbpart (mpz_t res, const int n) |
void numbpart::numbpart | ( | mpz_t | res, | |
const int | n | |||
) |
Compute number of unordered partitions of n
and stores the result in res
. The calculation is threadsafe.
Definition at line 119 of file numbpart.cc.
References numbpart::Cnumbpart::get_numbpart().
Referenced by parse_term::get_number().
int numbpart::omega | ( | const int | m | ) | [inline] |