vSMC  v3.0.0
Scalable Monte Carlo
Classes | Namespaces | Macros | Typedefs
seed.hpp File Reference
#include <vsmc/rng/internal/common.hpp>
#include <vsmc/rng/counter.hpp>

Go to the source code of this file.

Classes

class  vsmc::SeedGenerator< ID, ResultType >
 Seed generator. More...
 

Namespaces

 vsmc
 

Macros

#define VSMC_RUNTIME_ASSERT_RNG_SEED_GENERATOR_MODULO(div, rem)
 
#define VSMC_RUNTIME_ASSERT_RNG_SEED_MAX(max)
 
#define VSMC_SEED_RESULT_TYPE   unsigned
 Default result type of Seed. More...
 

Typedefs

using vsmc::Seed = SeedGenerator< NullType >
 The default Seed type. More...
 

Macro Definition Documentation

#define VSMC_RUNTIME_ASSERT_RNG_SEED_GENERATOR_MODULO (   div,
  rem 
)
Value:
"**SeedGenerator::modulo** " \
"REMAINDER IS NOT SMALLER THAN THE DIVISOR")
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:59
void div(std::size_t n, const float *a, const float *b, float *y)
Definition: vmath.hpp:95

Definition at line 38 of file seed.hpp.

#define VSMC_RUNTIME_ASSERT_RNG_SEED_MAX (   max)
Value:
VSMC_RUNTIME_ASSERT((max > 1), \
"**SeedGenerator::modulo** " \
"THE MAXIMUM OF THE INTERNAL SEED IS NO LARGER THAN 1")
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:59

Definition at line 43 of file seed.hpp.