vSMC
vSMC: Scalable Monte Carlo
Classes | Namespaces | Macros
uniform_real_distribution.hpp File Reference
#include <vsmc/rng/internal/common.hpp>
#include <vsmc/rng/u01.hpp>

Go to the source code of this file.

Classes

struct  vsmc::internal::UniformRealDistributionFRIntType< uint64_t, uint64_t >
 
struct  vsmc::internal::UniformRealDistributionFRIntType< 0, static_cast< uint64_t >(static_cast< uint32_t >(~(static_cast< uint32_t >(0))))>
 
struct  vsmc::internal::UniformRealDistributionFRIntType< 0, static_cast< uint64_t >(~(static_cast< uint64_t >(0)))>
 
class  vsmc::internal::UniformRealDistributionOp< FPType, Left, Right, Eng, bool >
 
class  vsmc::internal::UniformRealDistributionOp< FPType, Left, Right, Eng, true >
 
class  vsmc::UniformRealDistribution< FPType, Left, Right, MinMaxIsConstexpr >
 Uniform real distribution with variants open/closed variants. More...
 
struct  vsmc::UniformRealDistribution< FPType, Left, Right, MinMaxIsConstexpr >::param_type
 

Namespaces

 vsmc
 
 vsmc::internal
 

Macros

#define VSMC_RUNTIME_ASSERT_RNG_UNIFORM_REAL_DISTRIBUTION_ENG_MAX(eng_max)
 
#define VSMC_RUNTIME_ASSERT_RNG_UNIFORM_REAL_DISTRIBUTION_ENG_MIN(eng_min)
 
#define VSMC_RUNTIME_ASSERT_RNG_UNIFORM_REAL_DISTRIBUTION_PARAM_CHECK(a, b)
 

Macro Definition Documentation

#define VSMC_RUNTIME_ASSERT_RNG_UNIFORM_REAL_DISTRIBUTION_ENG_MAX (   eng_max)
Value:
VSMC_RUNTIME_ASSERT((eng_max == uint32_t_max_ || eng_max == uint64_t_max_),\
("**UniformRealDistribution::operator()** " \
"ENGINE MEMBER FUNCTION max() RETURN A VALUE OTHER THAN " \
"THE MAXIMUM OF uint32_t OR uint64_t"))
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:64

Definition at line 48 of file uniform_real_distribution.hpp.

#define VSMC_RUNTIME_ASSERT_RNG_UNIFORM_REAL_DISTRIBUTION_ENG_MIN (   eng_min)
Value:
VSMC_RUNTIME_ASSERT((eng_min == 0), \
("**UniformRealDistribution::operator()** " \
"ENGINE MEMBER FUNCTION min() RETURN A VALUE OTHER THAN ZERO"))
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:64

Definition at line 43 of file uniform_real_distribution.hpp.

#define VSMC_RUNTIME_ASSERT_RNG_UNIFORM_REAL_DISTRIBUTION_PARAM_CHECK (   a,
 
)
Value:
("**UniformRealDistribution** CONSTRUCTED WITH INVALID " \
"MINIMUM AND MAXIMUM PARAMTER VALUES"))
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:64

Definition at line 38 of file uniform_real_distribution.hpp.