boost random suitable distribution for an truncated exponential. See TruncatedExponential for more details. More...
#include <shark/Rng/TruncatedExponential.h>
Public Member Functions | |
TruncatedExponential_distribution (RealType lambda, RealType max) | |
TruncatedExponential_distribution (RealType lambda, RealType max, RealType integral) | |
RealType | max () const |
RealType | lambda () const |
RealType | integral () const |
void | reset () |
template<class Engine > | |
result_type | operator() (Engine &eng) |
Friends | |
template<class CharT , class Traits , class T > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const TruncatedExponential_distribution< T > &d) |
template<class CharT , class Traits , class T > | |
std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, TruncatedExponential_distribution< T > &d) |
boost random suitable distribution for an truncated exponential. See TruncatedExponential for more details.
Definition at line 48 of file TruncatedExponential.h.
|
inlineexplicit |
Definition at line 53 of file TruncatedExponential.h.
|
inlineexplicit |
Definition at line 56 of file TruncatedExponential.h.
|
inline |
Definition at line 68 of file TruncatedExponential.h.
|
inline |
Definition at line 64 of file TruncatedExponential.h.
Referenced by shark::TruncatedExponential< RngType >::p(), and shark::TruncatedExponential< RngType >::setMax().
|
inline |
Definition at line 60 of file TruncatedExponential.h.
Referenced by shark::TruncatedExponential< RngType >::operator()(), shark::TruncatedExponential< RngType >::p(), and shark::TruncatedExponential< RngType >::setLambda().
|
inline |
Definition at line 75 of file TruncatedExponential.h.
|
inline |
Definition at line 72 of file TruncatedExponential.h.
|
friend |
Definition at line 86 of file TruncatedExponential.h.
|
friend |
Definition at line 94 of file TruncatedExponential.h.