#include "defs.h"
#include <algorithm>
#include <cassert>
Go to the source code of this file.
Namespaces | |
| namespace | numerical |
Functions | |
| int | numerical::partition (const int x, const int n, const int i) |
| Return the i_th fair partition of x into n parts. | |
| void | numerical::partitionRange (const int x, const int n, const int i, int *a, int *b) |
| Compute the i_th fair partition range of x into n ranges. | |
1.4.7