| 
    vSMC
    
   vSMC: Scalable Monte Carlo 
   | 
 
Bernoulli distribution. More...
#include <vsmc/rng/bernoulli_distribution.hpp>
Classes | |
| class | param_type | 
Public Types | |
| using | distribution_type = BernoulliDistribution< IntType > | 
| using | result_type = IntType | 
Public Member Functions | |
| BernoulliDistribution (double p=0.5) | |
| BernoulliDistribution (const param_type ¶m) | |
| result_type | max () const | 
| result_type | min () const | 
| 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) | 
| template<typename RNGType > | |
| result_type | operator() (RNGType &rng, const param_type ¶m) | 
| template<typename RNGType > | |
| result_type | operator() (RNGType &rng) | 
| double | p () const | 
| param_type | param () const | 
| void | param (const param_type &parm) | 
| 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) | 
Bernoulli distribution.
Definition at line 54 of file bernoulli_distribution.hpp.
| using vsmc::BernoulliDistribution< IntType >::distribution_type = BernoulliDistribution< IntType > | 
Definition at line 57 of file bernoulli_distribution.hpp.
| using vsmc::BernoulliDistribution< IntType >::result_type = IntType | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inlineexplicit | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inlineexplicit | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 62 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 61 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 57 of file bernoulli_distribution.hpp.
      
  | 
  inline | 
Definition at line 63 of file bernoulli_distribution.hpp.
      
  | 
  friend | 
Definition at line 58 of file bernoulli_distribution.hpp.
      
  | 
  friend | 
Definition at line 58 of file bernoulli_distribution.hpp.
      
  | 
  friend | 
Definition at line 58 of file bernoulli_distribution.hpp.
      
  | 
  friend | 
Definition at line 58 of file bernoulli_distribution.hpp.
 1.8.11