randomgen.h File Reference

#include "lux.h"
#include <boost/thread/tss.hpp>

Go to the source code of this file.

Classes

class  lux::random::RandomGenerator

Namespaces

namespace  lux
namespace  lux::random

Defines

#define LCG(n)   ((69069UL * n) & 0xffffffffUL)
#define MASK   0xffffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define LCG(n)   ((69069UL * n) & 0xffffffffUL)
#define MASK   0xffffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define LCG(n)   ((69069UL * n) & 0xffffffffUL)
#define MASK   0xffffffffUL
#define RAN_BUFFER_AMOUNT   2048

Functions

void * lux::AllocAligned (size_t size)
void lux::FreeAligned (void *)
void lux::random::init (int tn)
float lux::random::floatValue ()
unsigned long lux::random::uintValue ()
float lux::random::floatValueP ()
unsigned long lux::random::uintValueP ()


Define Documentation

#define LCG (  )     ((69069UL * n) & 0xffffffffUL)

Definition at line 48 of file randomgen.h.

#define LCG (  )     ((69069UL * n) & 0xffffffffUL)

#define LCG (  )     ((69069UL * n) & 0xffffffffUL)

#define MASK   0xffffffffUL

Definition at line 49 of file randomgen.h.

#define MASK   0xffffffffUL

#define MASK   0xffffffffUL

#define RAN_BUFFER_AMOUNT   2048

Definition at line 51 of file randomgen.h.

#define RAN_BUFFER_AMOUNT   2048

#define RAN_BUFFER_AMOUNT   2048


Generated on Tue Nov 10 01:36:35 2009 for lux by  doxygen 1.5.9