MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_uniform_random()

MAYAFLUX_API double MayaFlux::get_uniform_random ( double  start = 0,
double  end = 1 
)

Generates a uniform random number.

Parameters
startLower bound (inclusive)
endUpper bound (exclusive)
Returns
Random number with uniform distribution

Uses the random number generator from the default engine.

Definition at line 14 of file API/Random.cpp.

15{
16 return get_random_engine()(start, end);
17}
Kinesis::Stochastic::Stochastic & get_random_engine()
Get reference to the default random engine.
Definition API/Random.cpp:9

References get_random_engine().

+ Here is the call graph for this function: