23 #ifndef RANDOM_NUMBERS_H
24 #define RANDOM_NUMBERS_H
56 const std::string
name(
void)
const
58 return "RandomNumbers";
63 return std::string(
"(librandom) run");
156 template <
typename NumberGenerator>
160 template <
typename DeviateGenerator>
void execute(SLIInterpreter *) const
Definition: random_numbers.cpp:249
void execute(SLIInterpreter *) const
Definition: random_numbers.cpp:200
RandomArrayFunction randomarrayfunction
Definition: random_numbers.h:150
GetStatus_vFunction getstatus_vfunction
Definition: random_numbers.h:143
static const Dictionary & get_rdvdict()
Returns global random deviate generator dictionary.
Definition: random_numbers.h:175
void execute(SLIInterpreter *) const
Definition: random_numbers.cpp:235
static Dictionary * rdvdict_
manages random deviate generators
Definition: random_numbers.h:164
~RandomNumbers()
Definition: random_numbers.cpp:66
SetStatus_vdFunction setstatus_vdfunction
Definition: random_numbers.h:142
const std::string name(void) const
Return name of the module.
Definition: random_numbers.h:56
Definition: slifunction.h:35
static SLIType RngType
Definition: random_numbers.h:46
static const Dictionary & get_rngdict()
Returns global random number generator dictionary.
Definition: random_numbers.h:168
void execute(SLIInterpreter *) const
Definition: random_numbers.cpp:264
static SLIType RdvFactoryType
Definition: random_numbers.h:50
A class that associates names and tokens.
Definition: dict.h:45
void execute(SLIInterpreter *) const
Definition: random_numbers.cpp:184
static SLIType RdvType
Definition: random_numbers.h:49
static SLIType RngFactoryType
Definition: random_numbers.h:47
IrandFunction irandfunction
Definition: random_numbers.h:147
SeedFunction seedfunction
Definition: random_numbers.h:146
DrandFunction drandfunction
Definition: random_numbers.h:148
void init(SLIInterpreter *)
Initializes the random number module.
Definition: random_numbers.cpp:91
Definition: interpret.h:69
void execute(SLIInterpreter *) const
Definition: random_numbers.cpp:218
void execute(SLIInterpreter *) const
Definition: random_numbers.cpp:168
CreateRDVFunction createrdvfunction
Definition: random_numbers.h:139
Definition: random_numbers.h:80
Provides random numbers and deviates to SLI.
Definition: random_numbers.h:42
void execute(SLIInterpreter *) const
Definition: random_numbers.cpp:302
Definition: random_numbers.h:130
Base class for all SLI Interpreter modules.
Definition: slimodule.h:34
CreateRNGFunction createrngfunction
Definition: random_numbers.h:138
Definition: random_numbers.h:93
Definition: random_numbers.h:106
Definition: random_numbers.h:87
void execute(SLIInterpreter *) const
Definition: random_numbers.cpp:279
void register_rdv_(const std::string &name, Dictionary &dict)
Utility function for registering deviate generators.
Definition: random_numbers.cpp:84
Definition: random_numbers.h:99
void register_rng_(const std::string &name, Dictionary &dict)
Utility function for registering number generators.
Definition: random_numbers.cpp:76
RandomFunction randomfunction
Definition: random_numbers.h:151
Definition: random_numbers.h:124
Definition: random_numbers.h:112
const std::string commandstring(void) const
Return sli command sequence to be executed for initialisation.
Definition: random_numbers.h:61
Definition: random_numbers.h:118
RandomNumbers()
Definition: random_numbers.h:53
static Dictionary * rngdict_
manages random number generators
Definition: random_numbers.h:163