DeSiGNAR
0.5a
Data Structures General Library
|
#include <types.H>
Go to the source code of this file.
Namespaces | |
Designar | |
Functions | |
rng_seed_t | Designar::get_random_seed () |
real_t | Designar::random (rng_t &) |
template<typename T > | |
T | Designar::random_uniform (rng_t &, T) |
template<typename T > | |
T | Designar::random_uniform (rng_t &, T, T) |
bool | Designar::random_Bernoulli (rng_t &, real_t p=DEFAULT_P) |
nat_t | Designar::random_binomial (rng_t &, nat_t, real_t p=DEFAULT_P) |
nat_t | Designar::throw_dice (rng_t &, nat_t num_faces=DEFAULT_DICE_NUM_FACES) |
Variables | |
constexpr lint_t | Designar::NUM_BITS = 64 |
constexpr real_t | Designar::DEFAULT_P = 0.5 |
constexpr nat_t | Designar::DEFAULT_DICE_NUM_FACES = 6 |