Also defined as ran(_nSeed). On every call it generates a random double value between 0. and 1.
double rnd( int nSeed = 0 )
A uniformly random number between 0. and 1.
EX1
// The example displays 10 random numbers between 0. and 1. void rnd_ex1() { for (int ii = 0; ii < 10; ii++) { double rr = rnd(); out_double("value = ", rr); } }
rand
origin.h