Implements an Erlang distribution. More...
#include <shark/Rng/Erlang.h>
Public Member Functions | |
| Erlang_distribution (RealType mean=0, RealType variance=1) | |
| 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 Erlang_distribution &d) |
| template<class CharT , class Traits > | |
| std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, Erlang_distribution &d) |
Implements an Erlang distribution.
|
inlineexplicit |
Definition at line 56 of file Erlang.h.
References shark::Erlang_distribution< RealType >::mean(), and shark::Erlang_distribution< RealType >::variance().
|
inline |
Definition at line 69 of file Erlang.h.
Referenced by shark::Erlang_distribution< RealType >::Erlang_distribution(), shark::Erlang< RngType >::p(), and shark::Erlang< RngType >::variance().
|
inline |
Definition at line 81 of file Erlang.h.
References shark::blas::prod(), and shark::uni().
|
inline |
|
inline |
Definition at line 73 of file Erlang.h.
Referenced by shark::Erlang_distribution< RealType >::Erlang_distribution(), and shark::Erlang< RngType >::p().
|
friend |
|
friend |