Euphoria
eu::core::RandomXorShift< I, a, b, c > Struct Template Reference

#include <rng.h>

Public Member Functions

 RandomXorShift (I s)
 
get_next_integer ()
 
float get_next_float01 ()
 

Public Attributes

state
 

Detailed Description

template<typename I, I a, I b, I c>
struct eu::core::RandomXorShift< I, a, b, c >

Definition at line 36 of file rng.h.

Constructor & Destructor Documentation

◆ RandomXorShift()

template<typename I , I a, I b, I c>
eu::core::RandomXorShift< I, a, b, c >::RandomXorShift ( s)
inlineexplicit

Definition at line 40 of file rng.h.

Member Function Documentation

◆ get_next_float01()

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

Definition at line 56 of file rng.h.

◆ get_next_integer()

template<typename I , I a, I b, I c>
I eu::core::RandomXorShift< I, a, b, c >::get_next_integer ( )
inline

Definition at line 45 of file rng.h.

Member Data Documentation

◆ state

template<typename I , I a, I b, I c>
I eu::core::RandomXorShift< I, a, b, c >::state

Definition at line 38 of file rng.h.


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