vSMC
vSMC: Scalable Monte Carlo
|
Standard uniform distribution with open/closed variants. More...
#include <vsmc/rng/internal/common.hpp>
Classes | |
class | param_type |
Public Types | |
using | distribution_type = U01LRDistribution< RealType, Left, Right > |
using | result_type = RealType |
Public Member Functions | |
U01LRDistribution () | |
U01LRDistribution (const param_type &) | |
result_type | max () const |
result_type | min () const |
template<typename RNGType > | |
result_type | operator() (RNGType &rng) |
template<typename RNGType > | |
result_type | operator() (RNGType &rng, const param_type &) |
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 &) |
void | reset () |
Friends | |
bool | operator!= (const U01LRDistribution< RealType, Left, Right > &, const U01LRDistribution< RealType, Left, Right > &) |
template<typename CharT , typename Traits > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const U01LRDistribution< RealType, Left, Right > &) |
bool | operator== (const U01LRDistribution< RealType, Left, Right > &, const U01LRDistribution< RealType, Left, Right > &) |
template<typename CharT , typename Traits > | |
std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, U01LRDistribution< RealType, Left, Right > &) |
Standard uniform distribution with open/closed variants.
RealType | The floating points type of results |
Left | Shall the left side of the interval be Open or Closed |
Right | Shall the right side of the interval be Open or Closed |
Definition at line 512 of file common.hpp.
using vsmc::U01LRDistribution< RealType, Left, Right >::distribution_type = U01LRDistribution<RealType, Left, Right> |
Definition at line 53 of file u01_distribution.hpp.
using vsmc::U01LRDistribution< RealType, Left, Right >::result_type = RealType |
Definition at line 52 of file u01_distribution.hpp.
|
inline |
Definition at line 86 of file u01_distribution.hpp.
|
inlineexplicit |
Definition at line 87 of file u01_distribution.hpp.
|
inline |
Definition at line 90 of file u01_distribution.hpp.
|
inline |
Definition at line 89 of file u01_distribution.hpp.
|
inline |
Definition at line 95 of file u01_distribution.hpp.
|
inline |
Definition at line 111 of file u01_distribution.hpp.
|
inline |
Definition at line 117 of file u01_distribution.hpp.
|
inline |
Definition at line 123 of file u01_distribution.hpp.
|
inline |
Definition at line 92 of file u01_distribution.hpp.
|
friend |
Definition at line 135 of file u01_distribution.hpp.
|
friend |
Definition at line 142 of file u01_distribution.hpp.
|
friend |
Definition at line 129 of file u01_distribution.hpp.
|
friend |
Definition at line 150 of file u01_distribution.hpp.