|
|
||||||
|
sp_random.h
Go to the documentation of this file.
double ran_gauss(double mu, double sigma, Time::Type tossLB, Time::Type tossUB) Sample a random variable gaussian distributed on a restricted interval Distribution: f(t) = 1 / sqrt(... Definition: sp_random.cpp:132 long ran_uniform_int(long a, long b) Sample a discrete random variable uniformly on interval [a;b) Distribution: p(n) = 1/(b-a-1) Definition: sp_random.cpp:98 double ran_exponential(double mu) Sample a random variable exponentially Distribution: f(t) dt = 1/mu exp(-t/mu) dt for t>=0. Definition: sp_random.cpp:107 void ran_plant_seeds(long x) Use this function to set the state of all the random number generator streams by "planting" a sequenc... Definition: sp_random.cpp:35 void ran_select_stream(int index) Use this function to set the current random number generator stream – that stream from which the next... Definition: sp_random.cpp:60 double ran(void) Run random generator Random Number Generator (for more details see "Random Number Generators: Good On... Definition: sp_random.cpp:75 double ran_gaussian_cdf_P(double x) Help function: calculate gaussian CDF using an approximation from Abromowitz and Stegun: Handbook of ... Definition: sp_random.cpp:224 double ran_uniform(double a, double b) Sample a random variable uniformly on interval [a;b) Distribution: f(t) dt= {1/(b-a)} dt for t,... Definition: sp_random.cpp:91 Execute transitions in a timed generator Class TimeInterval. libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |