Hypergeometric distribution. More...
#include <shark/Rng/HyperGeometric.h>
Public Member Functions | |
HyperGeometric_distribution (RealType mean, RealType variance) | |
RealType | mean () const |
RealType | variance () const |
void | reset () |
template<class Engine > | |
result_type | operator() (Engine &eng) |
Friends | |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const HyperGeometric_distribution &d) |
template<class CharT , class Traits > | |
std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, HyperGeometric_distribution &d) |
Hypergeometric distribution.
Definition at line 48 of file HyperGeometric.h.
|
inlineexplicit |
Definition at line 54 of file HyperGeometric.h.
References shark::HyperGeometric_distribution< IntType, RealType >::mean().
|
inline |
Definition at line 70 of file HyperGeometric.h.
Referenced by shark::HyperGeometric_distribution< IntType, RealType >::HyperGeometric_distribution(), and shark::HyperGeometric< RngType >::variance().
|
inline |
Definition at line 82 of file HyperGeometric.h.
|
inline |
Definition at line 79 of file HyperGeometric.h.
|
inline |
Definition at line 74 of file HyperGeometric.h.
Referenced by shark::HyperGeometric< RngType >::mean().
|
friend |
Definition at line 92 of file HyperGeometric.h.
|
friend |
Definition at line 101 of file HyperGeometric.h.