diff options
| author | tlatorre <tlatorre@uchicago.edu> | 2018-12-14 09:56:04 -0600 |
|---|---|---|
| committer | tlatorre <tlatorre@uchicago.edu> | 2018-12-14 09:56:04 -0600 |
| commit | 50a729145835d7fc88b81b713d94a894ebee378b (patch) | |
| tree | b3642614725e5e4c26ad96cd70c4d31c31b3bd88 /src/misc.h | |
| parent | dac8e34a1bdf79edb223e92c19567471c2e49643 (diff) | |
| download | sddm-50a729145835d7fc88b81b713d94a894ebee378b.tar.gz sddm-50a729145835d7fc88b81b713d94a894ebee378b.tar.bz2 sddm-50a729145835d7fc88b81b713d94a894ebee378b.zip | |
add a function to compute combinations with replacement
Diffstat (limited to 'src/misc.h')
| -rw-r--r-- | src/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,5 +30,6 @@ double gamma_pdf(double x, double k, double theta); size_t ipow(size_t base, size_t exp); void product(size_t n, size_t r, size_t *result); void unique_vertices(int *id, size_t n, size_t npeaks, size_t *result, size_t *nvertices); +void combinations_with_replacement(size_t n, size_t r, size_t *result, size_t *len); #endif |
