Fermat
Public Methods | List of all members
cugar::FLCG_random Struct Reference

Detailed description

A very simple Linear Congruential Generator

#include <numbers.h>

Inheritance diagram for cugar::FLCG_random:
cugar::LCG_random

Public Methods

CUGAR_FORCEINLINE CUGAR_HOST_DEVICE FLCG_random (const uint32 s=0)
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE float next ()
 
- Public Methods inherited from cugar::LCG_random
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE LCG_random (const uint32 s=0)
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE uint32 next ()
 

Additional Inherited Members

- Public Members inherited from cugar::LCG_random
uint32 m_s
 
- Static Public Members inherited from cugar::LCG_random
static const uint32 MAX = 0xFFFFFFFF
 

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