Euphoria
eu::core::RandomLcg< I, a, c, modulus > Struct Template Reference

#include <rng.h>

Public Member Functions

 RandomLcg (I s)
 
float get_next_float01 ()
 

Public Attributes

state
 

Detailed Description

template<typename I, I a, I c, I modulus>
struct eu::core::RandomLcg< I, a, c, modulus >

Definition at line 13 of file rng.h.

Constructor & Destructor Documentation

◆ RandomLcg()

template<typename I , I a, I c, I modulus>
eu::core::RandomLcg< I, a, c, modulus >::RandomLcg ( s)
inlineexplicit

Definition at line 17 of file rng.h.

Member Function Documentation

◆ get_next_float01()

template<typename I , I a, I c, I modulus>
float eu::core::RandomLcg< I, a, c, modulus >::get_next_float01 ( )
inline

Definition at line 23 of file rng.h.

Member Data Documentation

◆ state

template<typename I , I a, I c, I modulus>
I eu::core::RandomLcg< I, a, c, modulus >::state

Definition at line 15 of file rng.h.


The documentation for this struct was generated from the following file: