namespace: etk::tool


Description:



Synopsis:

  double  frand       (double _a,
double _b);
int32_t irand (int32_t _a,
int32_t _b);
void resetRandom ();
void randSeek (int32_t _val);

Detail:

frand

  double frand (double _a,
double _b);
int32_t irand (int32_t _a,
int32_t _b);
Get a random value in a specific range.


resetRandom

  void resetRandom ();
Reset the random system with a random value (time).


randSeek

  void randSeek (int32_t _val);
Reset the random system with The specify value.