Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

random.cc File Reference

#include <ctime>
#include <plearn/base/general.h>
#include "random.h"

Include dependency graph for random.cc:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  PLearn

Defines

#define NTAB   32 /* needs for ran1 & ran2 */
#define EPS   1.2e-7 /* needs for ran1 & ran2 */
#define RNMX   (1.0-EPS) /* needs for ran1 & ran2 */
#define IM1   2147483563 /* needs for ran2 */
#define IM2   2147483399 /* needs for ran2 */
#define AM1   (1.0/IM1) /* needs for ran2 */
#define IMM1   (IM1-1) /* needs for ran2 */
#define IA1   40014 /* needs for ran2 */
#define IA2   40692 /* needs for ran2 */
#define IQ1   53668 /* needs for ran2 */
#define IQ2   52774 /* needs for ran2 */
#define IR1   12211 /* needs for ran2 */
#define IR2   3791 /* needs for ran2 */
#define NDIV1   (1+IMM1/NTAB) /* needs for ran2 */
#define MAXGAM   171.624376956302725


Define Documentation

#define AM1   (1.0/IM1) /* needs for ran2 */
 

Definition at line 226 of file random.cc.

Referenced by PLearn::uniform_sample().

#define EPS   1.2e-7 /* needs for ran1 & ran2 */
 

Definition at line 222 of file random.cc.

#define IA1   40014 /* needs for ran2 */
 

Definition at line 228 of file random.cc.

Referenced by PLearn::uniform_sample().

#define IA2   40692 /* needs for ran2 */
 

Definition at line 229 of file random.cc.

Referenced by PLearn::uniform_sample().

#define IM1   2147483563 /* needs for ran2 */
 

Definition at line 224 of file random.cc.

Referenced by PLearn::uniform_sample().

#define IM2   2147483399 /* needs for ran2 */
 

Definition at line 225 of file random.cc.

Referenced by PLearn::uniform_sample().

#define IMM1   (IM1-1) /* needs for ran2 */
 

Definition at line 227 of file random.cc.

Referenced by PLearn::uniform_sample().

#define IQ1   53668 /* needs for ran2 */
 

Definition at line 230 of file random.cc.

Referenced by PLearn::uniform_sample().

#define IQ2   52774 /* needs for ran2 */
 

Definition at line 231 of file random.cc.

Referenced by PLearn::uniform_sample().

#define IR1   12211 /* needs for ran2 */
 

Definition at line 232 of file random.cc.

Referenced by PLearn::uniform_sample().

#define IR2   3791 /* needs for ran2 */
 

Definition at line 233 of file random.cc.

Referenced by PLearn::uniform_sample().

#define MAXGAM   171.624376956302725
 

Definition at line 684 of file random.cc.

#define NDIV1   (1+IMM1/NTAB) /* needs for ran2 */
 

Definition at line 234 of file random.cc.

Referenced by PLearn::uniform_sample().

#define NTAB   32 /* needs for ran1 & ran2 */
 

Definition at line 221 of file random.cc.

Referenced by PLearn::uniform_sample().

#define RNMX   (1.0-EPS) /* needs for ran1 & ran2 */
 

Definition at line 223 of file random.cc.

Referenced by PLearn::bounded_uniform(), and PLearn::uniform_sample().


Generated on Tue Aug 17 16:18:46 2004 for PLearn by doxygen 1.3.7