00001 //------------------------------------------------------------------------------ 00002 // 00003 // Thomas Berger (main author), Pepijn Schreinemachers, and Thorsten Arnold 00004 // 00005 // 00006 // Hohenheim University (490d) 00007 // Professorship for Land Use Economics in the Tropics and Subtropics 00008 // 00009 // May not be distributed without permission by main author 00010 // 00011 // File: RandomDataHandler.h (formerly lotterie.h) 00012 // 00013 // Contents: Random-data generator class for stepwise distribution functions 00014 // 00015 // 00016 // 00017 //------------------------------------------------------------------------------ 00018 00019 00020 #ifndef _RandomDataHandler_h 00021 #define _RandomDataHandler_h 00022 00023 class MatrixDouble; 00024 00025 double rndDataGenerator(int stages, double* upps, double* vals); 00026 double ran1(long idum); 00027 00028 #endif