src/NFutil/random.cpp
/* Return a random double on the closed interval [0,1] */
Return a random double on the closed interval [0,1]
Return a random double on the closed interval [ 0 1 ]
double NFutil::RANDOM_CLOSED()
{
	if (initflag) {
		iRand.seed( (int) time(NULL));
		initflag=0;
    }
	return dRandClosed();
}
double NFutil :: RANDOM_CLOSED ( ) { if ( initflag ) { iRand . seed ( ( int ) time ( NULL ) ) ; initflag = 0 ; } return dRandClosed ( ) ; }
Return a random double on the closed interval [0,1]
Return a random double on the closed interval [ 0 1 ]