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

Go to the source code of this file.

Classes

class  vsmc::internal::U01Impl< size_t, size_t, typename, typename >
 
class  vsmc::internal::U01Impl< sizeof(std::uint32_t), sizeof(double), Closed, Closed >
 
class  vsmc::internal::U01Impl< sizeof(std::uint32_t), sizeof(double), Closed, Open >
 
class  vsmc::internal::U01Impl< sizeof(std::uint32_t), sizeof(double), Open, Closed >
 
class  vsmc::internal::U01Impl< sizeof(std::uint32_t), sizeof(double), Open, Open >
 
class  vsmc::internal::U01Impl< sizeof(std::uint32_t), sizeof(float), Closed, Closed >
 
class  vsmc::internal::U01Impl< sizeof(std::uint32_t), sizeof(float), Closed, Open >
 
class  vsmc::internal::U01Impl< sizeof(std::uint32_t), sizeof(float), Open, Closed >
 
class  vsmc::internal::U01Impl< sizeof(std::uint32_t), sizeof(float), Open, Open >
 
class  vsmc::internal::U01Impl< sizeof(std::uint64_t), sizeof(double), Closed, Closed >
 
class  vsmc::internal::U01Impl< sizeof(std::uint64_t), sizeof(double), Closed, Open >
 
class  vsmc::internal::U01Impl< sizeof(std::uint64_t), sizeof(double), Open, Closed >
 
class  vsmc::internal::U01Impl< sizeof(std::uint64_t), sizeof(double), Open, Open >
 
class  vsmc::internal::U01Impl< sizeof(std::uint64_t), sizeof(float), Closed, Closed >
 
class  vsmc::internal::U01Impl< sizeof(std::uint64_t), sizeof(float), Closed, Open >
 
class  vsmc::internal::U01Impl< sizeof(std::uint64_t), sizeof(float), Open, Closed >
 
class  vsmc::internal::U01Impl< sizeof(std::uint64_t), sizeof(float), Open, Open >
 
class  vsmc::U01< UIntType, RealType, Left, Right >
 

Namespaces

 vsmc
 
 vsmc::internal
 

Macros

#define VSMC_DEFINE_RNG_U01(UBits, FBits, RealType)
 
#define VSMC_DEFINE_RNG_U01_IMPL( UBits, FBits, RealType, Left, Right, left, right)
 

Macro Definition Documentation

#define VSMC_DEFINE_RNG_U01 (   UBits,
  FBits,
  RealType 
)
Value:
UBits, FBits, RealType, Closed, Closed, closed, closed) \
VSMC_DEFINE_RNG_U01_IMPL( \
UBits, FBits, RealType, Closed, Open, closed, open) \
VSMC_DEFINE_RNG_U01_IMPL( \
UBits, FBits, RealType, Open, Closed, open, closed) \
VSMC_DEFINE_RNG_U01_IMPL(UBits, FBits, RealType, Open, Open, open, open)
#define VSMC_DEFINE_RNG_U01_IMPL( UBits, FBits, RealType, Left, Right, left, right)
Definition: u01.hpp:38

Definition at line 53 of file u01.hpp.

#define VSMC_DEFINE_RNG_U01_IMPL (   UBits,
  FBits,
  RealType,
  Left,
  Right,
  left,
  right 
)
Value:
template <> \
class U01Impl<sizeof(std::uint##UBits##_t), sizeof(RealType), Left, \
Right> \
{ \
public: \
template <typename UIntType> \
static RealType eval(UIntType u) \
{ \
return ::vsmc_u01_##left##_##right##_u##UBits##_f##FBits( \
static_cast<uint##UBits##_t>(u)); \
} \
};

Definition at line 38 of file u01.hpp.