Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

random.h

Go to the documentation of this file.
00001 /* ----------------------------------------------------------------------- 
00002  * Name            : rngs.h  (header file for the library file rngs.c) 
00003  * Author          : Steve Park & Dave Geyer
00004  * Language        : ANSI C
00005  * Latest Revision : 09-22-98
00006  * ----------------------------------------------------------------------- 
00007  */
00008 
00009 #if !defined( _RNGS_ )
00010 #define _RNGS_
00011 
00012 
00013 #define nextInt(x) nextInteger( (x),__FILE__, __LINE__ )
00014 //#define DEBUG_NEW new
00015 
00016 double Random(void);
00017 int nextInteger( int range,const char *file, int line);
00018 void   PlantSeeds(long x);
00019 void   GetSeed(long *x);
00020 void   PutSeed(long x);
00021 void   SelectStream(int index);
00022 void   TestRandom(void);
00023 
00024 #endif

Generated on Sat Nov 5 16:17:25 2005 for OPIE by  doxygen 1.4.2