1 // { dg-options "-std=gnu++11 -O0" }
2 // { dg-require-cstdint "" }
3 // { dg-require-cmath "" }
9 hyperplot(unsigned int N
, unsigned int K
, unsigned int n
)
11 std::mt19937 re
; // the default engine
12 __gnu_cxx::hypergeometric_distribution
<> hd(N
, K
, n
);
13 auto gen
= std::bind(hd
, re
);
21 hyperplot(500, 50, 30);
22 hyperplot(100, 20, 5);