vSMC
vSMC: Scalable Monte Carlo
|
Uniform real distribution with open/closed variants. More...
#include <vsmc/rng/internal/common.hpp>
Classes | |
class | param_type |
Public Types | |
using | distribution_type = UniformRealLRDistribution< RealType, Left, Right > |
using | result_type = RealType |
Public Member Functions | |
UniformRealLRDistribution (result_type a=0, result_type b=1) | |
UniformRealLRDistribution (const param_type ¶m) | |
result_type | a () const |
result_type | b () const |
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 ¶m) |
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) |
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) |
Uniform real 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 515 of file common.hpp.
using vsmc::UniformRealLRDistribution< RealType, Left, Right >::distribution_type = UniformRealLRDistribution<RealType, Left, Right> |
Definition at line 57 of file uniform_real_distribution.hpp.
using vsmc::UniformRealLRDistribution< RealType, Left, Right >::result_type = RealType |
Definition at line 56 of file uniform_real_distribution.hpp.
|
inlineexplicit |
Definition at line 140 of file uniform_real_distribution.hpp.
|
inlineexplicit |
Definition at line 145 of file uniform_real_distribution.hpp.
|
inline |
Definition at line 149 of file uniform_real_distribution.hpp.
|
inline |
Definition at line 150 of file uniform_real_distribution.hpp.
|
inline |
Definition at line 153 of file uniform_real_distribution.hpp.
|
inline |
Definition at line 152 of file uniform_real_distribution.hpp.
|
inline |
Definition at line 158 of file uniform_real_distribution.hpp.
|
inline |
Definition at line 164 of file uniform_real_distribution.hpp.
|
inline |
Definition at line 172 of file uniform_real_distribution.hpp.
|
inline |
Definition at line 178 of file uniform_real_distribution.hpp.
|
inline |
Definition at line 155 of file uniform_real_distribution.hpp.
|
friend |
Definition at line 185 of file uniform_real_distribution.hpp.
|
friend |
Definition at line 185 of file uniform_real_distribution.hpp.
|
friend |
Definition at line 185 of file uniform_real_distribution.hpp.
|
friend |
Definition at line 185 of file uniform_real_distribution.hpp.