|
MCKL
Monte Carlo Kernel Library
|
Geometric distribution. More...
#include <mckl/random/geometric_distribution.hpp>
Classes | |
| class | param_type |
Public Types | |
| using | distribution_type = GeometricDistribution< IntType > |
| using | result_type = IntType |
Public Member Functions | |
| GeometricDistribution (double p=0.5) | |
| GeometricDistribution (const param_type ¶m) | |
| GeometricDistribution (param_type &¶m) | |
| result_type | max () const |
| result_type | min () const |
| template<typename RNGType > | |
| result_type | operator() (RNGType &rng) |
| template<typename RNGType > | |
| result_type | operator() (RNGType &rng, const param_type ¶m) |
| template<typename RNGType > | |
| void | operator() (RNGType &rng, std::size_t n, result_type *r) |
| template<typename RNGType > | |
| void | operator() (RNGType &rng, std::size_t n, result_type *r, const param_type ¶m) |
| double | p () const |
| void | param (const param_type ¶m) |
| const param_type & | param () const |
| void | param (param_type &¶m) |
| void | reset () |
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) |
Geometric distribution.
Definition at line 69 of file geometric_distribution.hpp.
| using mckl::GeometricDistribution< IntType >::distribution_type = GeometricDistribution< IntType > |
Definition at line 73 of file geometric_distribution.hpp.
| using mckl::GeometricDistribution< IntType >::result_type = IntType |
Definition at line 73 of file geometric_distribution.hpp.
|
inlineexplicit |
Definition at line 73 of file geometric_distribution.hpp.
|
inlineexplicit |
Definition at line 73 of file geometric_distribution.hpp.
|
inlineexplicit |
Definition at line 73 of file geometric_distribution.hpp.
|
inline |
Definition at line 79 of file geometric_distribution.hpp.
|
inline |
Definition at line 77 of file geometric_distribution.hpp.
|
inline |
Definition at line 73 of file geometric_distribution.hpp.
|
inline |
Definition at line 73 of file geometric_distribution.hpp.
|
inline |
Definition at line 73 of file geometric_distribution.hpp.
|
inline |
Definition at line 73 of file geometric_distribution.hpp.
|
inline |
Definition at line 73 of file geometric_distribution.hpp.
|
inline |
Definition at line 73 of file geometric_distribution.hpp.
|
inline |
Definition at line 73 of file geometric_distribution.hpp.
|
inline |
Definition at line 73 of file geometric_distribution.hpp.
|
inline |
Definition at line 81 of file geometric_distribution.hpp.
|
friend |
Definition at line 73 of file geometric_distribution.hpp.
|
friend |
Definition at line 73 of file geometric_distribution.hpp.
|
friend |
Definition at line 73 of file geometric_distribution.hpp.
|
friend |
Definition at line 73 of file geometric_distribution.hpp.
1.8.13