/
class Geo SimpleRNG
This is the documentation for Enlighten.
class Geo SimpleRNG
class Geo::SimpleRNG
The 'super-duper' random number generator with shuffle (an LCG).
Cheap and a good LCG, but will still perform poorly with some modulos.
Functions
Name | Description |
---|---|
operator()() | Gets the next random number. |
SimpleRNG(u32) | Creates a SimpleRNG with the given seed. |
u32 Geo::SimpleRNG::operator()
public: u32 operator()()
Gets the next random number.
Geo::SimpleRNG::SimpleRNG
public: SimpleRNG
(
u32 seed
)
Creates a SimpleRNG with the given seed.
, multiple selections available,
Related content
class Geo SimpleRNG
class Geo SimpleRNG
More like this
class Geo SimpleRNG
class Geo SimpleRNG
More like this
class Geo GoodRNG
class Geo GoodRNG
More like this
module Maths
module Maths
More like this
module Maths
module Maths
More like this
class Geo GeoGuid
class Geo GeoGuid
More like this