PhotosRandom Class Reference
Inheritance diagram for PhotosRandom:
Inheritance graph
Collaboration diagram for PhotosRandom:
Collaboration graph

Static Public Member Functions

static void setSeed (int s1, int s2)
 
static void initialize ()
 
static double randomReal ()
 
static void setSeed (int s1, int s2)
 
static void initialize ()
 
static double randomReal ()
 

Static Protected Attributes

static bool init = false
 
static int iseed [2] = { 1802, 9373 }
 
static int i97 = 96
 
static int j97 = 32
 
static double uran [97] = { 0.0 }
 
static double cran = 362436.0 /16777216.0
 
static const double cdran = 7654321.0 /16777216.0
 
static const double cmran = 16777213.0/16777216.0
 

Detailed Description

Definition at line 20 of file src/utilities/PhotosRandom.h.

Member Function Documentation

◆ initialize()

void initialize ( )
static

Definition at line 38 of file PhotosRandom.cxx.

◆ randomReal()

double randomReal ( )
static

Definition at line 84 of file PhotosRandom.cxx.

◆ setSeed()

void setSeed ( int s1,
int s2 )
static

Definition at line 18 of file PhotosRandom.cxx.

Field Documentation

◆ cdran

static const double cdran = 7654321.0 /16777216.0
staticprotected

Definition at line 41 of file include/Photos/PhotosRandom.h.

◆ cmran

static const double cmran = 16777213.0/16777216.0
staticprotected

Definition at line 42 of file include/Photos/PhotosRandom.h.

◆ cran

static double cran = 362436.0 /16777216.0
staticprotected

Definition at line 40 of file include/Photos/PhotosRandom.h.

◆ i97

static int i97 = 96
staticprotected

Definition at line 37 of file include/Photos/PhotosRandom.h.

◆ init

static bool init = false
staticprotected

Definition at line 35 of file include/Photos/PhotosRandom.h.

◆ iseed

static int iseed = { 1802, 9373 }
staticprotected

Definition at line 36 of file include/Photos/PhotosRandom.h.

◆ j97

static int j97 = 32
staticprotected

Definition at line 38 of file include/Photos/PhotosRandom.h.

◆ uran

static double uran = { 0.0 }
staticprotected

Definition at line 39 of file include/Photos/PhotosRandom.h.


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