Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

static double Impala::Util::RandomGenerator::GenerateDouble ( double  i = 1  )  [inline, static]

Gives a random number in range [0,i).

Definition at line 44 of file RandomGenerator.h.

00045     {
00046         return (double) (((double) std::rand() / ((double) RAND_MAX + 1.0)) * (i));
00047     }


Generated on Fri Mar 19 11:41:11 2010 for ImpalaSrc by  doxygen 1.5.1