|
tetl 0.1.0
Embedded Template Library
|
#include <bernoulli_distribution.hpp>
Classes | |
| struct | param_type |
Public Types | |
| using | result_type = bool |
Public Member Functions | |
| constexpr | bernoulli_distribution () noexcept |
| constexpr | bernoulli_distribution (double p) noexcept |
| constexpr | bernoulli_distribution (param_type const &parm) noexcept |
| constexpr auto | max () const noexcept -> result_type |
| constexpr auto | min () const noexcept -> result_type |
| template<typename URBG > | |
| constexpr auto | operator() (URBG &g) noexcept(noexcept(g())) -> result_type |
| template<typename URBG > | |
| constexpr auto | operator() (URBG &g, param_type const &parm) noexcept(noexcept(g())) -> result_type |
| constexpr auto | p () const noexcept -> double |
| constexpr auto | param () const noexcept -> param_type |
| constexpr auto | param (param_type const &parm) noexcept -> void |
| constexpr auto | reset () noexcept -> void |
Friends | |
| constexpr auto | operator== (bernoulli_distribution const &x, bernoulli_distribution const &y) noexcept -> bool |
|
inlineconstexprnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
friend |