PetaVision  Alpha
 All Data Structures Namespaces Functions Variables
PV::Random Class Reference
Inheritance diagram for PV::Random:
PV::GaussianRandom

Public Member Functions

 Random (HyPerCol *hc, int count)
 
 Random (HyPerCol *hc, const PVLayerLoc *locptr, bool isExtended)
 
HyPerColgetParentHyPerCol ()
 
taus_uint4getRNG (int index)
 
size_t getRNGArraySize ()
 
unsigned int randomUInt (int localIndex=0)
 
void randomUInt (unsigned int *values, int localIndex, int count=1)
 
float uniformRandom (int localIndex=0)
 
float uniformRandom (int localIndex, float min, float max)
 
void uniformRandom (float *values, int localIndex, int count=1)
 
void uniformRandom (float *values, int localIndex, int count, float min, float max)
 

Static Public Member Functions

static unsigned int randomUIntMax ()
 

Protected Member Functions

int initializeFromCount (HyPerCol *hc, int count)
 
int initializeFromLoc (HyPerCol *hc, const PVLayerLoc *locptr, bool isExtended)
 

Protected Attributes

HyPerColparentHyPerCol
 
taus_uint4rngArray
 
size_t rngArraySize
 

Private Member Functions

int initialize_base ()
 

Detailed Description

Definition at line 27 of file Random.hpp.


The documentation for this class was generated from the following files: