00001 /* 00002 * Copyright (C) 2007 A.N. Yzelman 00003 * Released under LGPL, see license.txt 00004 * 00005 * Last modified at 12th of April, 2007, by A.N. Yzelman 00006 * 00007 * randomUtils.h: Convenience functions for use with the standard gnu random number generator 00008 * 00009 */ 00010 00011 #include<iostream> 00012 00013 using namespace std; 00014 00016 namespace randomUtils { 00017 00024 double randomDouble(); 00025 00032 int randomInt( const int x, const int y ); 00033 00040 unsigned int randomInt( const unsigned int x, const unsigned int y ); 00041 00042 }