|
MCKL
Monte Carlo Kernel Library
|
Drawing a subset without replacement. More...
#include <mckl/random/internal/common.hpp>
Classes | |
| class | param_type |
Public Types | |
| using | distribution_type = SamplingDistribution< IntType > |
| using | result_type = IntType |
Public Member Functions | |
| SamplingDistribution (result_type n=1, result_type m=1) | |
| result_type | m () const |
| void | max (result_type *r) const |
| void | min (result_type *r) const |
| result_type | n () const |
| template<typename RNGType > | |
| void | operator() (RNGType &rng, result_type *r) const |
Friends | |
| bool | operator!= (const distribution_type &dist1, const distribution_type &dist2) |
| template<typename CharT , typename Traits > | |
| std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const distribution_type &dist) |
| bool | operator== (const distribution_type &dist1, const distribution_type &dist2) |
| template<typename CharT , typename Traits > | |
| std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, distribution_type &dist) |
Drawing a subset without replacement.
Definition at line 1105 of file random/internal/common.hpp.
| using mckl::SamplingDistribution< IntType >::distribution_type = SamplingDistribution<IntType> |
Definition at line 49 of file sampling_distribution.hpp.
| using mckl::SamplingDistribution< IntType >::result_type = IntType |
Definition at line 48 of file sampling_distribution.hpp.
|
inlineexplicit |
Definition at line 120 of file sampling_distribution.hpp.
|
inline |
Definition at line 139 of file sampling_distribution.hpp.
|
inline |
Definition at line 131 of file sampling_distribution.hpp.
|
inline |
Definition at line 125 of file sampling_distribution.hpp.
|
inline |
Definition at line 137 of file sampling_distribution.hpp.
|
inline |
Definition at line 142 of file sampling_distribution.hpp.
|
friend |
Definition at line 170 of file sampling_distribution.hpp.
|
friend |
Definition at line 177 of file sampling_distribution.hpp.
|
friend |
Definition at line 164 of file sampling_distribution.hpp.
|
friend |
Definition at line 186 of file sampling_distribution.hpp.
1.8.13